mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
log on error
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user