-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
According to this code, when we fail at retrieving the bug details and comment, we raise an IgnoreInvalidRequestError.
jira-bugzilla-integration/jbi/runner.py
Lines 222 to 228 in 5a14f89
| except Exception as err: | |
| logger.exception( | |
| "Failed to get bug: %s", err, extra=runner_context.model_dump() | |
| ) | |
| raise IgnoreInvalidRequestError( | |
| "bug not accessible or bugzilla down" | |
| ) from err |
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request