log on error

This commit is contained in:
Eric Espie
2026-02-23 10:19:30 +01:00
parent 8172673063
commit 9efbd89068

View File

@@ -227,8 +227,7 @@ if (utils::IsModeCLI()) {
try {
utils::UseParamFile();
}
catch (Exception $e) {
} catch (Exception $e) {
$oP->p('Error: '.$e->GetMessage());
$oP->output();
exit - 2;