Skip to content
Snippets Groups Projects
Commit d4aec862 authored by Anael Beutot's avatar Anael Beutot
Browse files

Log exception in get_attachment handler

parent 8d3c6ae1
No related branches found
No related tags found
No related merge requests found
......@@ -389,7 +389,11 @@ class Handler(BasePlugin):
"""
:param name: attachment name
"""
return self.jobs_manager.get(job_id).read_attachment(name)
try:
return self.jobs_manager.get(job_id).read_attachment(name)
except Exception:
logger.exception('Error while getting job attachment')
raise
@pass_connection
def plugin_install(self, conn, sha1, name):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment