Commit 95a789d9 authored by Matthias's avatar Matthias
Browse files

improve log message

parent 692c809c
Pipeline #25033 passed with stages
in 2 minutes and 37 seconds
......@@ -163,7 +163,8 @@ def write_results(job_drupal_uuid, job_log_drupal_uuid, status, report):
current_app.logger.error(message)
raise ImportApiError(message)
elif response.status_code == 500:
message = 'There was an internal server error: ' + url + '. Check the logs for details.'
message = 'There was an internal server error for ' + url + ': ' + str(response) +\
'. Check the logs for details.'
current_app.logger.error(message)
raise ImportApiError(message)
else:
......
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