mirror of
https://github.com/unraid/webgui.git
synced 2026-05-05 11:50:41 -05:00
Re-add error in console
This commit is contained in:
@@ -26,6 +26,8 @@ try {
|
||||
restore_error_handler();
|
||||
error_log("Error evaluating content in $evalFile): ".$e->getMessage()."\nStack trace:\n".$e->getTraceAsString());
|
||||
ob_clean();
|
||||
echo "<script>console.error('".htmlspecialchars("Error evaluating content in $evalFile: ".$e->getMessage())."');</script>";
|
||||
ob_end_flush();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user