Pecan's on_error() hook never gets trigged when used with WSME
Bug #1256042 reported by
Lucas Alvares Gomes
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WSME |
Confirmed
|
High
|
Jianing Yang |
Bug Description
The WSME wsexpose decorator capture all the exceptions serialize then and return as a response[1], and so the on_error() hook of pecan that is dedicated for unhandled exceptions never will get trigged.
[1] https:/
Changed in wsme: | |
assignee: | nobody → Jianing YANG (jianingy) |
Changed in wsme: | |
importance: | Undecided → High |
To post a comment you must log in.
WSME should provide a way to let user handle exceptions instead of catching them all.