Task: #53687 Handle missing mode fallback and add no-mode cfg tests
This commit is contained in:
parent
2737ec1d65
commit
adf5a98768
5 changed files with 45 additions and 3 deletions
2
bin/cfg
2
bin/cfg
|
|
@ -334,7 +334,7 @@ try {
|
|||
elseif (is_readable($cfgFile = $cfg->buildFileName())) {
|
||||
$cfg->load(require($cfgFile));
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
fwrite(STDERR, "Error: ".$e->getMessage().PHP_EOL);
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue