Skip to content
Snippets Groups Projects
Commit 025181fa authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

error message on exception

parent d186df85
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,13 @@ bool NetSource::_getCalibration(Universe &net, const UUID &peer, const string &s
sleep_for(milliseconds(500));
}
}
} catch (const std::exception& ex) {
LOG(ERROR) << "Exception: " << ex.what();
return false;
} catch (...) {
LOG(ERROR) << "Unknown exception";
return false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment