Commit 061ea6e9 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Improve logging

parent fbfbad22
Pipeline #33021 passed with stages
in 2 minutes and 30 seconds
......@@ -110,6 +110,7 @@ class WriteJobResultToDrupal(Resource):
status = 'FAILED'
return self.write_results(job_drupal_uuid, job_log_drupal_uuid, status, body)
except ImportApiError as e:
self.logger.error(e)
return {'error': e.message}, 500
def write_results(self, job_drupal_uuid, job_log_drupal_uuid, status, report):
......
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