Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.
  • Loading branch information...
commit b26e84dfe153ddd7bf90c07940f9f349f6657960 1 parent c9ac23b
Bharat Mediratta authored
4  modules/gallery/helpers/gallery_error.php
@@ -24,9 +24,7 @@ static function error_handler($severity, $message, $filename, $lineno) {

0 notes on commit b26e84d

Please sign in to comment.
Something went wrong with that request. Please try again.