1
0
Fork 0
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:
Steffen Vogel 2019-03-26 14:04:26 +01:00
parent fe26cad193
commit 8e344a11e1

View file

@ -57,15 +57,14 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
catch (ParseError &e) { catch (ParseError &e) {
logger->info("{}", e.what()); logger->error("{}", e.what());
} }
catch (ConfigError &e) { catch (ConfigError &e) {
logger->info("{}", e.what()); logger->error("{}", e.what());
} }
catch (std::runtime_error &e) { catch (std::runtime_error &e) {
logger->info("{}", e.what()); logger->error("{}", e.what());
} }
return -1; return -1;
} }