Bug #100
PHP exceptions to not look very nice without HTML
| Status: | Closed | Start: | 10/26/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | Andreas Unterkircher | % Done: | 100% |
|
| Category: | internals | Spent time: | 0.50 hours | |
| Target version: | 1.4 | |||
Description
currently a PHP exception looks like:
Fatal error: Uncaught exception 'Exception' in /srv/www/share.netshadow.at/htdocs/nephthys/nephthys_db.php:543 Stack trace: #0 /srv/www/share.netshadow.at/htdocs/nephthys/nephthys_db.php(133): NEPHTHYS_DB->throwError('MDB2 Error: no ...') #1 /srv/www/share.netshadow.at/htdocs/nephthys/nephthys.class.php(2036): NEPHTHYS_DB->db_query('? UP...') #2 /srv/www/share.netshadow.at/htdocs/nephthys/nephthys.class.php(118): NEPHTHYS->check_db_tables() #3 /srv/www/share.netshadow.at/htdocs/nephthys/rpc.php(42): NEPHTHYS->__construct() #4 /srv/www/share.netshadow.at/htdocs/nephthys/rpc.php(96): NEPHTHYS_RPC->process_ajax_request() #5 {main} thrown in /srv/www/share.netshadow.at/htdocs/nephthys/nephthys_db.php on line 543
Associated revisions
Revision 9507541cbe74f77b17ebf529547d085965876464
introduced new class NEPHTHYS_EXCEPTION which takes care of beautifying the output of an exception, fixes #100
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
History
Updated by Andreas Unterkircher 1200 days ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset 9507541cbe74f77b17ebf529547d085965876464.
Updated by Andreas Unterkircher 1200 days ago
- Status changed from Resolved to Closed