Minor bug fix
This commit is contained in:
parent
359afdcbe0
commit
284cd4f52a
1 changed files with 4 additions and 1 deletions
|
@ -132,10 +132,13 @@ class FileLogging implements LogHandlerInterface
|
|||
{
|
||||
$output .= 'Stack Trace:' . PHP_EOL;
|
||||
foreach($trace as $item)
|
||||
{
|
||||
if(isset($item['file']) && isset($item['line']))
|
||||
{
|
||||
$output .= ' - ' . $item['file'] . ':' . $item['line'] . PHP_EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($exception->getPrevious() !== null)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue