Try to fix undefined file error

This commit is contained in:
Jérémy Munsch 2021-10-15 07:57:20 +02:00
parent 979e8add45
commit 62629f0356
No known key found for this signature in database
GPG key ID: 55196BEE445F6049

View file

@ -120,8 +120,8 @@ class ExceptionHandler extends Handler
$traceStr .= \sprintf(
'#%s %s(%d): ',
$stackStage,
str_replace($projectPath, '', $stack['file']),
$stack['line']
str_replace($projectPath, '', $stack['file'] ?? ''),
$stack['line'] ?? ''
);
$traceStr .= "{$stack['class']}->{$stack['function']}(";
$traceArgs = '';