Log path of file that failed to be parsed

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-06-28 11:09:50 +02:00
parent 9b2d855d19
commit d4692d1fbe
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 1 deletions

View File

@ -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',
]);