diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-28 11:09:50 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-28 11:09:50 +0200 |
commit | d4692d1fbe95a57ca45861f5a63e25af385b854c (patch) | |
tree | 0ba0c08dbcd5399bc0f4ff2ed22039a439b21c29 /lib | |
parent | 9b2d855d19b68bed00b6d2c9782deff573616830 (diff) | |
download | nextcloud-server-d4692d1fbe95a57ca45861f5a63e25af385b854c.tar.gz nextcloud-server-d4692d1fbe95a57ca45861f5a63e25af385b854c.zip |
Log path of file that failed to be parsed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Preview/Bitmap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bitmap.php b/lib/private/Preview/Bitmap.php index 89b56bfc9e8..1fd42a0ea97 100644 --- a/lib/private/Preview/Bitmap.php +++ b/lib/private/Preview/Bitmap.php @@ -50,7 +50,7 @@ abstract class Bitmap extends Provider { $bp = $this->getResizedPreview($tmpPath, $maxX, $maxY); } catch (\Exception $e) { \OC::$server->getLogger()->logException($e, [ - 'message' => 'Imagick says:', + 'message' => 'File: ' . $fileview->getAbsolutePath($path) . ' Imagick says:', 'level' => ILogger::ERROR, 'app' => 'core', ]); |