mozilla / jira-bugzilla-integration

Jira Bugzilla Integration (JBI) - system to sync bugs and issues
Mozilla Public License 2.0
8 stars 22 forks source link

Webhook event lost when Bugzilla is down #971

Closed leplatrem closed 2 months ago

leplatrem commented 2 months ago

According to this code, when we fail at retrieving the bug details and comment, we raise an IgnoreInvalidRequestError.

https://github.com/mozilla/jira-bugzilla-integration/blob/5a14f894aac78d7c82b9c7b17ea653632dc7ab5b/jbi/runner.py#L222-L228

We could be a little bit more precise here, and only ignore the event when the HTTPError exception on GET is a 4XX. And add the event in the queue otherwise