[hamradio-commits] [gnss-sdr] 134/251: catching all the exceptions
Carles Fernandez
carles_fernandez-guest at moszumanska.debian.org
Wed Sep 2 00:22:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.
commit c22005eda146e6be76033f2b63127ae03b96301f
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date: Sat May 23 10:04:48 2015 +0200
catching all the exceptions
---
src/main/main.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/main.cc b/src/main/main.cc
index a26e8b5..258b422 100644
--- a/src/main/main.cc
+++ b/src/main/main.cc
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git
More information about the pkg-hamradio-commits
mailing list