From e1f267472dbe568e592eaf6427872998c0369e43 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 1 Jan 2013 00:46:30 -1000 Subject: [PATCH] Debug: Duplicate UnicodeErrors not having exception names removed --- errorreporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errorreporting.py b/errorreporting.py index a57f683..ca5ff83 100644 --- a/errorreporting.py +++ b/errorreporting.py @@ -127,7 +127,7 @@ def json_crash_report(): exception = report['exception'] = {} exception['backtrace'] = get_backtrace() exception['exception_class'] = exc_class.__name__ - if isinstance(exc_class, UnicodeError): + if isinstance(exc_value, UnicodeError): exception['message'] = exc_class.__name__ else: try: