From 889b0343ba5c9e7de2fa898370afa66bd88dac11 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Mon, 31 Mar 2014 14:53:03 +0200 Subject: [PATCH] added text to ImageNotWritableException --- src/Intervention/Image/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Image.php b/src/Intervention/Image/Image.php index 4652429e..30747e04 100644 --- a/src/Intervention/Image/Image.php +++ b/src/Intervention/Image/Image.php @@ -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;