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

added text to ImageNotWritableException

This commit is contained in:
Oliver Vogel
2014-03-31 14:53:03 +02:00
parent 806c96e147
commit 889b0343ba

View File

@@ -1723,7 +1723,7 @@ class Image
$saved = @file_put_contents($path, $this->encode(pathinfo($path, PATHINFO_EXTENSION), $quality));
if ($saved === false) {
throw new Exception\ImageNotWritableException;
throw new Exception\ImageNotWritableException("Can't write image data to path [{$path}]");
}
return $this;