aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/utils/log.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp
index e975bccc0..8126d46b7 100644
--- a/host/lib/utils/log.cpp
+++ b/host/lib/utils/log.cpp
@@ -505,7 +505,10 @@ uhd::_log::log::~log(void)
{
if (_log_it) {
this->_log_info.message = _ss.str();
- log_rs().push(this->_log_info);
+ try{
+ log_rs().push(this->_log_info);
+ }
+ catch (...){}
}
}