summaryrefslogtreecommitdiffstats
path: root/application/libraries/Image
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/Image')
-rw-r--r--application/libraries/Image/Drivers/imagemagick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Image/Drivers/imagemagick.php b/application/libraries/Image/Drivers/imagemagick.php
index e37b9c8b3..fb4e4d88f 100644
--- a/application/libraries/Image/Drivers/imagemagick.php
+++ b/application/libraries/Image/Drivers/imagemagick.php
@@ -72,7 +72,7 @@ class imagemagick implements \libraries\Image\ImageDriver {
try {
$ret = (new \libraries\ProcRunner($command))->execSafe();
} catch (\exceptions\ApiException $e) {
- throw new \exceptions\ApiException("libraries/Image/thumbnail-creation-failed", "Failed to create thumbnail");
+ throw new \exceptions\ApiException("libraries/Image/thumbnail-creation-failed", "Failed to create thumbnail", null, $e);
}
return $ret["stdout"];