summaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-20 09:03:09 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-20 09:03:09 +0100
commitf24c77a1ff2dc6bf98802b61fa85030b6c8b75f5 (patch)
tree9d28fc06a3f9e88ff3be521c1f776575879e87ff /src/output
parent28ddaa742d1a815c8c07d17b2a79fbfb964fdc1d (diff)
downloaddabmod-f24c77a1ff2dc6bf98802b61fa85030b6c8b75f5.tar.gz
dabmod-f24c77a1ff2dc6bf98802b61fa85030b6c8b75f5.tar.bz2
dabmod-f24c77a1ff2dc6bf98802b61fa85030b6c8b75f5.zip
Fix DPD unknown exception
Diffstat (limited to 'src/output')
-rw-r--r--src/output/Feedback.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output/Feedback.cpp b/src/output/Feedback.cpp
index f0bbd98..97d6e04 100644
--- a/src/output/Feedback.cpp
+++ b/src/output/Feedback.cpp
@@ -94,7 +94,7 @@ void DPDFeedbackServer::set_tx_frame(
boost::mutex::scoped_lock lock(burstRequest.mutex);
if (buf.size() % sizeof(complexf) != 0) {
- throw std::logic_error("Buffer for tx frame has incorrect size");
+ throw logic_error("Buffer for tx frame has incorrect size");
}
if (burstRequest.state == BurstRequestState::SaveTransmitFrame) {
@@ -192,6 +192,9 @@ void DPDFeedbackServer::ReceiveBurstThread()
catch (const std::exception &e) {
etiLog.level(error) << "DPD Feedback RX exception: " << e.what();
}
+ catch (const boost::thread_interrupted& e) {
+ etiLog.level(info) << "DPD Feedback RX stopping.";
+ }
catch (...) {
etiLog.level(error) << "DPD Feedback RX unknown exception!";
}