Commit c6e471da authored by kaiyou's avatar kaiyou

Fix a typo

parent 92653101
Pipeline #201 passed with stage
in 58 seconds
......@@ -35,7 +35,7 @@ def normalize(context, result, success="message", error="message", up="up"):
for further use.
"""
if isinstance(result, Exception):
result = {up: False, error: str(result), stack: result.stack}
result = {up: False, error: str(result), "stack": result.stack}
elif not type(result) is dict:
result = {up: True, success: result}
return context, result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment