pyroom needs consistent error handling
Bug #242099 reported by
Florian Heinle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyRoom |
Fix Released
|
Undecided
|
Florian Heinle |
Bug Description
at the moment, error handling in pyroom is a little weird. Some errors are plainly ignored (when saving fails) (!!), some errors raise uncaught exceptions, some exceptions are raised and caught immediately and general `except:` clauses are often to be seen.
PyroomError exceptions go to a status bar that fades out after some time. While this fits into the "no distractions" paradigm nicely, I think error messages should either require the user's attention directly (via some dialog) or not at all.
We need some consistent and easy way to display error messages if we want to enable plugin support at any time
Related branches
lp:~tiax/pyroom/errors
- No reviews requested
Changed in pyroom: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I propose we just raise PyroomError whenever something requires the user's immediate attention and catch it globally, displaying some dialog window with the error message.