1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-13 00:06:02 +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

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;