Skip to content

Commit

Permalink
New debug removal
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Oct 24, 2019
1 parent 1e715e0 commit 58858fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/appier/base.py
Expand Up @@ -1667,7 +1667,9 @@ def handle_error(self, exception):
session = sid
)
if errors: result["errors"] = errors
if not settings.DEBUG: del result["traceback"]
if not settings.DEBUG:
del result["traceback"]
del result["meta"]

# returns the resulting map to the caller method so that it may be used
# to serialize the response in the upper layers (proper handling)
Expand Down

0 comments on commit 58858fd

Please sign in to comment.