Merge pull request #16234 from anandology/show-traceback-as-string
fix: show traceback as string instead of bytes
This commit is contained in:
commit
302f4645e0
1 changed files with 1 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ def get_context(context):
|
|||
if frappe.flags.in_migrate: return
|
||||
context.http_status_code = 500
|
||||
|
||||
print(frappe.get_traceback().encode("utf-8"))
|
||||
print(frappe.get_traceback())
|
||||
return {"error": frappe.get_traceback().replace("<", "<").replace(">", ">") }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue