Debug: Duplicate UnicodeErrors not having exception names removed
This commit is contained in:
parent
c3ee13a97b
commit
e1f267472d
@ -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:
|
||||
|
Reference in New Issue
Block a user