Commit e5878157 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Improve logging

parent 4bfaef73
Pipeline #32986 passed with stages
in 2 minutes
......@@ -147,6 +147,7 @@ class WriteTypeReportToDrupal(Resource):
raise ImportApiError(message)
message = "Unknown response status code for drupal api for url " + url
current_app.logger.error(json.dumps(data, ensure_ascii=False))
raise ImportApiError(message)
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