diff --git a/core/util.php b/core/util.php index 03f0b63e..4ce3ce0d 100644 --- a/core/util.php +++ b/core/util.php @@ -616,6 +616,7 @@ function _fatal_error(Exception $e): void print("Version: $version (on $phpver)\n"); } else { $q = $query ? "" : "
Query: " . html_escape($query); + error_log("Shimmie Error: $message // $query // {$e->getTraceAsString()}"); header("HTTP/1.0 500 Internal Error"); echo '