mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 18:04:51 +00:00
catching all the exceptions
This commit is contained in:
parent
f180de905d
commit
c22005eda1
@ -176,14 +176,14 @@ int main(int argc, char** argv)
|
||||
{
|
||||
LOG(FATAL) << "Boost exception: " << boost::diagnostic_information(e);
|
||||
}
|
||||
catch( boost::lock_error & le )
|
||||
{
|
||||
LOG(FATAL) << "Lock error exception: " << boost::diagnostic_information(le);
|
||||
}
|
||||
catch(std::exception const& ex)
|
||||
{
|
||||
LOG(FATAL) << "STD exception: " << ex.what();
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
LOG(INFO) << "Unexpected catch";
|
||||
}
|
||||
// report the elapsed time
|
||||
gettimeofday(&tv, NULL);
|
||||
long long int end = tv.tv_sec * 1000000 + tv.tv_usec;
|
||||
|
Loading…
Reference in New Issue
Block a user