diff --git a/components/rgbd-sources/src/net.cpp b/components/rgbd-sources/src/net.cpp index 210a0e6249457604f350917c8cd04b00614d64e6..7dca9d4169e2aee2332597a63ca4deccfa2b55d6 100644 --- a/components/rgbd-sources/src/net.cpp +++ b/components/rgbd-sources/src/net.cpp @@ -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; } }