Commit 81d17efc authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Improve logging for patch request.

parent ce04e3ea
Pipeline #32984 passed with stages
in 2 minutes and 25 seconds
......@@ -147,5 +147,6 @@ class WriteTypeReportToDrupal(Resource):
else:
message = "Unknown response status code for drupal api for url " + url
current_app.logger.error(message)
current_app.logger.error(response.text)
raise ImportApiError(message)
return result
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