campaignd: Increase verbosity of filesystem::io_exception exceptions

This commit is contained in:
Ignacio R. Morelle 2016-10-09 23:28:58 -03:00
parent 28c5179636
commit a380128ade

View file

@ -862,8 +862,8 @@ int main()
} catch(config::error& /*e*/) {
std::cerr << "Could not parse config file\n";
return 1;
} catch(filesystem::io_exception& /*e*/) {
std::cerr << "File I/O error\n";
} catch(filesystem::io_exception& e) {
std::cerr << "File I/O error: " << e.what() << "\n";
return 2;
} catch(std::bad_function_call& /*e*/) {
std::cerr << "Bad request handler function call\n";