]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
missing argument for sprintf
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 22 Aug 2017 16:48:04 +0000 (18:48 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 22 Aug 2017 17:19:17 +0000 (19:19 +0200)
lib/imagefile.php

index 22fdda9d3085c31775f31a7e3d171bd5003dac1d..80bc90f12574c19801939dd46a7049ea6b2a8d78 100644 (file)
@@ -163,7 +163,7 @@ class ImageFile
                 // doesn't exist anyway, so it's safe to delete $imgPath
                 @unlink($imgPath);
             }
-            common_debug(sprintf('Exception caught when creating ImageFile for File id==%s and imgPath==', _ve($file->id), _ve($imgPath)));
+            common_debug(sprintf('Exception %s caught when creating ImageFile for File id==%s and imgPath==%s: %s', get_class($e), _ve($file->id), _ve($imgPath), _ve($e->getMessage())));
             throw $e;
         }
         return $image;