diff --git a/src/Intervention/Image/Imagick/Decoder.php b/src/Intervention/Image/Imagick/Decoder.php index 6ef9d7b5..c54092a1 100644 --- a/src/Intervention/Image/Imagick/Decoder.php +++ b/src/Intervention/Image/Imagick/Decoder.php @@ -23,7 +23,9 @@ class Decoder extends \Intervention\Image\AbstractDecoder } catch (\ImagickException $e) { throw new \Intervention\Image\Exception\NotReadableException( - "Unable to read image from path ({$path})." + "Unable to read image from path ({$path}).", + 0, + $e ); } @@ -81,7 +83,9 @@ class Decoder extends \Intervention\Image\AbstractDecoder } catch (\ImagickException $e) { throw new \Intervention\Image\Exception\NotReadableException( - "Unable to read image from binary data." + "Unable to read image from binary data.", + 0, + $e ); }