Merge "Fix typo in hooks.py"
This commit is contained in:
@@ -114,6 +114,6 @@ class NoExceptionTracebackHook(hooks.PecanHook):
|
||||
faultstring = faultstring.split(traceback_marker, 1)[0]
|
||||
# Remove trailing newlines and spaces if any.
|
||||
json_body['faultstring'] = faultstring.rstrip()
|
||||
# Replace the whole json. Cannot change original one beacause it's
|
||||
# Replace the whole json. Cannot change original one because it's
|
||||
# generated on the fly.
|
||||
state.response.json = json_body
|
||||
|
||||
Reference in New Issue
Block a user