Commit 293d9371 authored by Volker Krause's avatar Volker Krause
Browse files

Write errors also to the server log

parent ee667a99
......@@ -66,6 +66,7 @@ public static function tableNameForComplexEntry($productName, $entryName)
public static function httpError($responseCode, $message)
{
error_log('UserFeedback ERROR: ' . $message . ' (' . $responseCode . ')');
http_response_code($responseCode);
header('Content-Type: text/plain');
print($message);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment