The server_exception hook behaviour is unclear if multiple hooks are installed
Bug #789915 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
Encountered while investigating bug #789167 (fallout from bug #274578).
If several hooks are installed, only the last one will decide
about the exception_caught status.
We probably want to change the definition of the hook to be:
1) return True: the exception has been handled, return False: the
exception should be re-raised. If a hook returns True, the
remaining hooks are ignored.
or
2) return an OR'ed expression of all the hooks called.
But I don't think we want to keep the status-quo anyway as we may
re-raise an exception already handled by a hook.
summary: |
- The server_execption hook behavior unclear if multiple hooks are + The server_exception hook behaviour is unclear if multiple hooks are installed |
tags: | added: check-for-breezy |
tags: |
added: server removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.