Show More
@@ -66,7 +66,7 b' def wrap_exception():' | |||||
66 | exc_content = { |
|
66 | exc_content = { | |
67 | 'status' : 'error', |
|
67 | 'status' : 'error', | |
68 | 'traceback' : [ line.encode('utf8') for line in tb ], |
|
68 | 'traceback' : [ line.encode('utf8') for line in tb ], | |
69 | 'etype' : etype.encode('utf8'), |
|
69 | 'etype' : str(etype).encode('utf8'), | |
70 | 'evalue' : evalue.encode('utf8') |
|
70 | 'evalue' : evalue.encode('utf8') | |
71 | } |
|
71 | } | |
72 | return exc_content |
|
72 | return exc_content |
General Comments 0
You need to be logged in to leave comments.
Login now