Bug fix, bumped to version 2.0.4
This commit is contained in:
parent
e927c7a8ec
commit
359afdcbe0
3 changed files with 10 additions and 2 deletions
|
@ -208,7 +208,10 @@ class ConsoleLogging implements LogHandlerInterface
|
|||
print('Stack Trace:' . PHP_EOL);
|
||||
foreach($trace as $item)
|
||||
{
|
||||
print( ' - ' . self::color($item['file'], ConsoleColors::RED) . ':' . $item['line'] . PHP_EOL);
|
||||
if(isset($item['file']) && isset($item['line']))
|
||||
{
|
||||
print( ' - ' . self::color($item['file'], ConsoleColors::RED) . ':' . $item['line'] . PHP_EOL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue