Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
4dc8093881 | |
|
654c11f8d9 |
|
@ -22,8 +22,12 @@ function _gamectl_exception_handler($e)
|
|||
//let's filter out too stack traces which are printed anyway
|
||||
foreach($lines as $idx => $line)
|
||||
{
|
||||
if($idx === 0)
|
||||
{
|
||||
$line = 'Exception in ' . $e->getFile() . ':' . $e->getLine() . "\n" . $line;
|
||||
}
|
||||
if($idx > 0 && preg_match('~^#\d+\s+~', $line))
|
||||
break;
|
||||
continue;
|
||||
$digest .= $line . "\n";
|
||||
}
|
||||
$digest = trim($digest);
|
||||
|
|
Loading…
Reference in New Issue