Fix a typo
TrivialFix Change-Id: Ie590443df230417e0fdeb95f44407b357c4f8191
This commit is contained in:
parent
4978f34055
commit
61a227ea82
|
@ -120,6 +120,6 @@ class NoExceptionTracebackHook(hooks.PecanHook):
|
|||
faultsting = faultsting.split(traceback_marker, 1)[0]
|
||||
# Remove trailing newlines and spaces if any.
|
||||
json_body['faultstring'] = faultsting.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
|
||||
|
|
Loading…
Reference in New Issue