Dislay actual error location when a fatal error is caught by Debug class

This commit is contained in:
Kijin Sung 2023-08-08 00:49:53 +09:00
parent e31704ffc2
commit a36177d772

View file

@ -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']));
}
/**