Merge pull request #10036 from nextcloud/feature/9221/show-path-in-log
Log path of file that failed to be parsed
This commit is contained in:
commit
388ea2234f
|
@ -50,7 +50,7 @@ abstract class Bitmap extends Provider {
|
||||||
$bp = $this->getResizedPreview($tmpPath, $maxX, $maxY);
|
$bp = $this->getResizedPreview($tmpPath, $maxX, $maxY);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
\OC::$server->getLogger()->logException($e, [
|
\OC::$server->getLogger()->logException($e, [
|
||||||
'message' => 'Imagick says:',
|
'message' => 'File: ' . $fileview->getAbsolutePath($path) . ' Imagick says:',
|
||||||
'level' => ILogger::ERROR,
|
'level' => ILogger::ERROR,
|
||||||
'app' => 'core',
|
'app' => 'core',
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue