Log path of file that failed to be parsed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
9b2d855d19
commit
d4692d1fbe
|
@ -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',
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue