1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Catch exception

This commit is contained in:
Carles Fernandez 2018-05-22 22:09:28 +02:00
parent f2ff936fd0
commit cb0dbc4ce1
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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();