Skip to content
Snippets Groups Projects
Verified Commit 0f757916 authored by Oliver Evans's avatar Oliver Evans :octopus:
Browse files

Don't log responses

parent 5666c977
Branches master
No related tags found
No related merge requests found
Checking pipeline status
......@@ -31,7 +31,8 @@ def http_decorator(user_errors=()):
fields = inspect_fields(func)
validate_fields(data, fields)
result = func(**data)
print("Response ({}): {}".format(request_id, result))
#print("Response ({}): {}".format(request_id, result))
print("Response ({})".format(request_id))
return success(result)
except all_user_errors as e:
msg = str(e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment