#68: Exception reports could be more helpful
-------------------------+--------------------------------------------------
Reporter: jblayloc | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: WebAlert | Version:
Keywords: |
-------------------------+--------------------------------------------------
I'm not sure that WebAlert is the right module.
So right now all the exceptions being generated from the live site and
going to the admin@ email alias cite one of two code locations in the
subject line:
(webinterface_handler.py:369) or (webinterface_handler_wsgi.py:352)
It would be really great if we could bubble up exceptions from where their
originated, inspect the stack frame, and then generate an exception report
that says right in the Subject of the email where the error was caught
from.
For casual user errors, one could imagine exception reports that include
just this information (exception, message, smallest enclosing stack frame,
uri that broke it), and then the more complete dump when verbose is set on
the uri. I think this would be nice, but maybe other people like getting
the complete output every time.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/68>
Invenio <http://invenio-software.org>