mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Dislay actual error location when a fatal error is caught by Debug class
This commit is contained in:
parent
e31704ffc2
commit
a36177d772
1 changed files with 2 additions and 2 deletions
|
|
@ -645,7 +645,7 @@ class Debug
|
|||
}
|
||||
|
||||
// Display the error screen.
|
||||
self::displayErrorScreen($log_entry);
|
||||
self::displayErrorScreen($log_entry, $errfile . ':' . $e->getLine());
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
@ -675,7 +675,7 @@ class Debug
|
|||
}
|
||||
|
||||
// Display the error screen.
|
||||
self::displayErrorScreen($log_entry);
|
||||
self::displayErrorScreen($log_entry, $errinfo['file'] . ':' . intval($errinfo['line']));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue