1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-26 06:53:14 +00:00

Catch exception by reference

This commit is contained in:
Carles Fernandez 2018-05-15 18:31:34 +02:00
parent ea50ca0ddd
commit 1bad4d3be6
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -114,7 +114,7 @@ void ControlThread::run()
{
flowgraph_->connect();
}
catch (const std::exception e)
catch (const std::exception &e)
{
LOG(ERROR) << e.what();
return;