Fix a typo
TrivialFix Change-Id: Ic4c244635055be2ef5371307d8cd2ea677e78855
This commit is contained in:
parent
8b213835be
commit
42856b4d05
@ -112,6 +112,6 @@ class NoExceptionTracebackHook(hooks.PecanHook):
|
|||||||
faultsting = faultsting.split(traceback_marker, 1)[0]
|
faultsting = faultsting.split(traceback_marker, 1)[0]
|
||||||
# Remove trailing newlines and spaces if any.
|
# Remove trailing newlines and spaces if any.
|
||||||
json_body['faultstring'] = faultsting.rstrip()
|
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.
|
# generated on the fly.
|
||||||
state.response.json = json_body
|
state.response.json = json_body
|
||||||
|
Loading…
Reference in New Issue
Block a user