Open
Bug 173626
Opened 22 years ago
Updated 10 years ago
Clean up bugzilla error handling
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Bugzilla
Bugzilla-General
Tracking
()
NEW
People
(Reporter: bbaetz, Unassigned)
Details
Attachments
(1 file)
14.66 KB,
patch
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•22 years ago
|
||
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.
Reporter | ||
Comment 2•22 years ago
|
||
This won't work. It doesn't work. Its just here as a guide-type-thing for
discussion.
Updated•19 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Comment 3•10 years ago
|
||
(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.
Description
•