From cb0dbc4ce18bfe3c2c08ac158f0a6b6b99cfbc6b Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 22 May 2018 22:09:28 +0200 Subject: [PATCH] Catch exception --- src/utils/front-end-cal/main.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/utils/front-end-cal/main.cc b/src/utils/front-end-cal/main.cc index db8e8baae..7a90e0cc8 100644 --- a/src/utils/front-end-cal/main.cc +++ b/src/utils/front-end-cal/main.cc @@ -449,7 +449,14 @@ int main(int argc, char** argv) { std::cout << " . "; } - channel_internal_queue.push(3); + try + { + channel_internal_queue.push(3); + } + catch (const boost::exception& e) + { + LOG(INFO) << "Exception caught while pushing to he internal queue."; + } try { ch_thread.join();