Remove generic std::exception handlers, they don't seem to be adding value, and they hide useful info.
This commit is contained in:
committed by
Patrick Niklaus
parent
b4710633b1
commit
0b868969be
@@ -99,8 +99,3 @@ catch (const std::bad_alloc &e)
|
||||
"address space (note: this makes OSRM swap, i.e. slow)";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
util::SimpleLogger().Write(logWARNING) << "caught exception: " << e.what();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user