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
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main() try
|
||||
int main()
|
||||
{
|
||||
osrm::util::LogPolicy::GetInstance().Unmute();
|
||||
osrm::util::SimpleLogger().Write() << "Releasing all locks";
|
||||
@@ -13,8 +13,3 @@ int main() try
|
||||
barrier.update_mutex.unlock();
|
||||
return 0;
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
osrm::util::SimpleLogger().Write(logWARNING) << "[excpetion] " << e.what();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user