Open Bug 173626 Opened 19 years ago Updated 7 years ago
Clean up bugzilla error handling
I'd like to begin using a real exception class to handle errors. This has some minor problems, due to perl CORE bugs I've discovered while working on this. The advantage is that we can get real stack traces/errors to the console. CGI::Carp doesn't really work for us under mod_perl. This bug isn't a requirement for mod_perl, though, esp since mod_perl 2 does errors-to-browser stuff automatically.
I want to use Exception::Class for this, mainly because Exception::Class::DBI exists, so we could then get useful dbi errors almost for free.
This won't work. It doesn't work. Its just here as a guide-type-thing for discussion.
(In reply to Bradley Baetz (:bbaetz) from comment #1) > I want to use Exception::Class for this The Exception::Class documentation recommends to not use it anymore but to use Try::Tiny instead: http://search.cpan.org/~doy/Try-Tiny/lib/Try/Tiny.pm
Assignee: bbaetz → general
Severity: normal → enhancement
OS: Linux → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.