diff options
Diffstat (limited to 'src/OutputUHDFeedback.cpp')
-rw-r--r-- | src/OutputUHDFeedback.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/OutputUHDFeedback.cpp b/src/OutputUHDFeedback.cpp index 22fa7eb..b370885 100644 --- a/src/OutputUHDFeedback.cpp +++ b/src/OutputUHDFeedback.cpp @@ -378,8 +378,14 @@ void OutputUHDFeedback::ServeFeedbackThread() try { ServeFeedback(); } - catch (runtime_error &e) { - etiLog.level(error) << "DPD Feedback Server fault: " << e.what(); + catch (const runtime_error &e) { + etiLog.level(error) << "DPD Feedback Server runtime error: " << e.what(); + } + catch (const std::exception &e) { + etiLog.level(error) << "DPD Feedback Server exception: " << e.what(); + } + catch (...) { + etiLog.level(error) << "DPD Feedback Server unknown exception!"; } boost::this_thread::sleep(boost::posix_time::seconds(5)); |