missing argument for sprintf

This commit is contained in:
Mikael Nordfeldth 2017-08-22 18:48:04 +02:00
parent de8aed6a28
commit 0b75eaed92

View File

@ -163,7 +163,7 @@ class ImageFile
// doesn't exist anyway, so it's safe to delete $imgPath // doesn't exist anyway, so it's safe to delete $imgPath
@unlink($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; throw $e;
} }
return $image; return $image;