Commit Graph

3 Commits

Author SHA1 Message Date
Bharat Mediratta
dd5471b860 Create and throw the exception, instead of logging. The theory behind
exceptions is that they only need to be logged if they can't be caught
and handled.  If we don't throw it, then the error gets swallowed and
the code that errored out just blithely continues.
2009-09-28 21:21:05 -07:00
Tim Almdal
970158f4d9 Fix unit tests by updating the xss golden file and declaring gallery_error::error_handler as static 2009-09-24 16:59:33 -07:00
Tim Almdal
28060d9dce Create a gallery error handler that traps php errors and rethrows them as Exceptions. This fixes ticket #763 2009-09-22 14:25:52 -07:00