Commit dc08c40f authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Improve log message

Distinguish exceptions while using AstakosClient to communicate with
Astakos, from the rest API errors.
parent 3d1ff5d5
......@@ -112,7 +112,7 @@ def api_method(http_method=None, token_required=True, user_required=True,
details=err.details,
code=err.status)
if fault.code >= 500:
logger.exception("API ERROR")
logger.exception("Astakos ERROR")
return render_fault(request, fault)
except:
logger.exception("Unexpected ERROR")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment