Commit d4aec862 authored by Anael Beutot's avatar Anael Beutot
Browse files

Log exception in get_attachment handler

parent 8d3c6ae1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -389,7 +389,11 @@ class Handler(BasePlugin):
        """
        :param name: 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):