1
0

Added try-catch to shell/extendedgitgraph_refresh
All checks were successful
Build Docker and Deploy / Build Docker (push) Successful in 11s
Build Docker and Deploy / Deploy to Server (push) Successful in 15s

This commit is contained in:
Mike Schwörer 2023-08-28 11:09:11 +02:00
parent 3767fd3eec
commit f7688a224b
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -9,6 +9,8 @@ ini_set("display_errors", 1);
ini_set("display_startup_errors", 1);
error_reporting(E_ALL);
try {
echo "\n";
echo "==================================== Init ====================================\n";
echo "\n";
@ -64,3 +66,20 @@ echo "\n";
echo "Done.\n";
exit(0);
} catch (Throwable $throwable) {
echo "";
echo "[!] Caught Eception";
echo "";
echo $throwable->getMessage();
echo $throwable->getFile() . " : " . $throwable->getLine();
echo "";
echo $throwable->getTraceAsString();
echo "";
echo "";
throw $throwable;
}