From: Mikael Nordfeldth Date: Tue, 22 Aug 2017 16:48:04 +0000 (+0200) Subject: missing argument for sprintf X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b75eaed92161d0ac83bdc18d89f741f831db941;p=quix0rs-gnu-social.git missing argument for sprintf --- diff --git a/lib/imagefile.php b/lib/imagefile.php index 22fdda9d30..80bc90f125 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -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;