diff --git a/src/Intervention/Image/Gd/Decoder.php b/src/Intervention/Image/Gd/Decoder.php index 6d2d7b4d..11a0bc0b 100644 --- a/src/Intervention/Image/Gd/Decoder.php +++ b/src/Intervention/Image/Gd/Decoder.php @@ -57,7 +57,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder default: throw new NotReadableException( - "Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files." + sprintf("Unsupported image type %s. GD driver is only able to decode JPG, PNG, GIF or WebP files.", strtolower($mime)) ); }