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 ea4f9a4ba2
commit 17197cff81

View file

@ -911,8 +911,8 @@ int main(int argc, char**argv)
} 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(network::error& e) {
std::cerr << "Aborted with network error: " << e.message << '\n';