Minor bug fix
This commit is contained in:
parent
359afdcbe0
commit
284cd4f52a
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue