From 9ce5a058409148dd225a4433b768e5e9f77799ec Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Thu, 27 Jun 2019 19:08:23 -0500 Subject: [PATCH] Update main.php --- ext/handle_pixel/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/handle_pixel/main.php b/ext/handle_pixel/main.php index 3b73bdfb..d46ca7ca 100644 --- a/ext/handle_pixel/main.php +++ b/ext/handle_pixel/main.php @@ -99,6 +99,7 @@ class PixelFileHandler extends DataHandlerExtension imagestring($thumb, 5, 10, 24, "Image Too Large :(", $black); return true; } catch (Exception $e) { + throw $e; log_error("handle_pixel", "Error while creating thumbnail: ".$e->getMessage()); return false; }