1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 08:09:54 +02:00

Merge pull request #1026 from umpirsky/patch-1

Better error message in Decoder
This commit is contained in:
Oliver Vogel
2021-07-05 18:21:15 +02:00
committed by GitHub

View File

@@ -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))
);
}