mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
config-check: display exceptions as errors
This commit is contained in:
parent
fe26cad193
commit
8e344a11e1
1 changed files with 3 additions and 4 deletions
|
@ -57,15 +57,14 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
catch (ParseError &e) {
|
||||
logger->info("{}", e.what());
|
||||
logger->error("{}", e.what());
|
||||
}
|
||||
catch (ConfigError &e) {
|
||||
logger->info("{}", e.what());
|
||||
logger->error("{}", e.what());
|
||||
}
|
||||
catch (std::runtime_error &e) {
|
||||
logger->info("{}", e.what());
|
||||
logger->error("{}", e.what());
|
||||
}
|
||||
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue