1
0

fix extendedgitgraph live output

This commit is contained in:
2019-12-29 00:26:57 +01:00
parent 0d0b8f64b1
commit 15f6d121de
5 changed files with 67 additions and 14 deletions

View File

@@ -76,7 +76,6 @@ $API_OPTIONS = [];
foreach ($_GET as $k => $v) $API_OPTIONS[strtolower($k)] = $v;
foreach ($OPTIONS['_urlparams'] as $k => $v) $API_OPTIONS[strtolower($k)] = $v;
try
{
/** @noinspection PhpIncludeInspection */
@@ -86,4 +85,13 @@ catch (exception $e)
{
print("API Command failed with exception");
print($e);
$content =
"REQUEST: " . var_export($_REQUEST) . "\r\n\r\n" .
"IP: " . get_client_ip() . "\r\n\r\n" .
"ERROR: " . $e . "\r\n\r\n";
sendMail("Website API call failed", $content, 'virtualadmin@mikescher.de', 'webserver-info@mikescher.com');
httpDie(500, 'Error.');
}