Message for unhandled exceptions in UDP message processing

This commit is contained in:
Michael Davidsaver
2015-09-08 12:44:37 -04:00
parent e08db19ddc
commit 2e64b1b785
2 changed files with 13 additions and 3 deletions

View File

@@ -1106,11 +1106,11 @@ namespace epics {
try {
bac->processRead();
} catch (std::exception &e) {
LOG(logLevelWarn,
LOG(logLevelError,
"an exception caught while in receiveThread at %s:%d: %s",
__FILE__, __LINE__, e.what());
} catch (...) {
LOG(logLevelWarn,
LOG(logLevelError,
"unknown exception caught while in receiveThread at %s:%d.",
__FILE__, __LINE__);
}