Minor bug fix

This commit is contained in:
netkas 2024-12-04 00:29:23 -05:00
parent 359afdcbe0
commit 284cd4f52a

View file

@ -133,7 +133,10 @@ class FileLogging implements LogHandlerInterface
$output .= 'Stack Trace:' . PHP_EOL;
foreach($trace as $item)
{
$output .= ' - ' . $item['file'] . ':' . $item['line'] . PHP_EOL;
if(isset($item['file']) && isset($item['line']))
{
$output .= ' - ' . $item['file'] . ':' . $item['line'] . PHP_EOL;
}
}
}