Error catching in UI
This commit is contained in:
@ -1,7 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once implode(DIRECTORY_SEPARATOR, [
|
try {
|
||||||
dirname(__DIR__),
|
require_once implode(DIRECTORY_SEPARATOR, [
|
||||||
'setup',
|
dirname(__DIR__),
|
||||||
'app.php'
|
'setup',
|
||||||
]);
|
'app.php'
|
||||||
$app->run();
|
]);
|
||||||
|
$app->run();
|
||||||
|
} catch (Error | Exception $e) {
|
||||||
|
error_log($e);
|
||||||
|
throw $e;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user