summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-28 11:09:50 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-28 11:09:50 +0200
commitd4692d1fbe95a57ca45861f5a63e25af385b854c (patch)
tree0ba0c08dbcd5399bc0f4ff2ed22039a439b21c29 /lib
parent9b2d855d19b68bed00b6d2c9782deff573616830 (diff)
downloadnextcloud-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.php2
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',
]);