Skip to content

Commit abb7ac3

Browse files
committed
explain the exception better in the log
1 parent ca4aaa5 commit abb7ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,8 +887,8 @@ def _handleBugmails(self, bugmails):
887887
installation = self._bzByUrl(mail.urlbase)
888888
self.log.info('Handling bugmail for bug %s on %s (%s)' % (mail.bug_id, mail.urlbase, installation.name))
889889
installation.handleBugmail(mail)
890-
except BugzillaNotFound:
891-
self.log.error("Bugzilla %s not found" % mail.urlbase)
890+
except BugzillaNotFound as e:
891+
self.log.error("Bugzilla %s not found: %s" % (mail.urlbase, e))
892892
except Exception as e:
893893
self.log.error("_bzByUrl failed: %s" % e)
894894

0 commit comments

Comments
 (0)