diff --git a/lib/bbackupd/BackupDaemon.cpp b/lib/bbackupd/BackupDaemon.cpp index 880429b88..5d800de29 100644 --- a/lib/bbackupd/BackupDaemon.cpp +++ b/lib/bbackupd/BackupDaemon.cpp @@ -2162,8 +2162,12 @@ void BackupDaemon::WaitOnCommandSocket(box_time_t RequiredDelay, bool &DoSyncFla std::string command; while(mapCommandSocketInfo->mapGetLine.get() != 0) { - command = mapCommandSocketInfo->mapGetLine->GetLine( - false /* no preprocessing */, timeout); + { + HideExceptionMessageGuard hide_exceptions; + command = mapCommandSocketInfo->mapGetLine->GetLine( + false /* no preprocessing */, timeout); + } + BOX_TRACE("Received command '" << command << "' over command socket"); bool sendOK = false; diff --git a/lib/bbstored/BBStoreDHousekeeping.cpp b/lib/bbstored/BBStoreDHousekeeping.cpp index a0e77c43d..75b6953ca 100644 --- a/lib/bbstored/BBStoreDHousekeeping.cpp +++ b/lib/bbstored/BBStoreDHousekeeping.cpp @@ -219,6 +219,7 @@ bool BackupStoreDaemon::CheckForInterProcessMsg(int AccountNum, int MaximumWaitT try { + HideExceptionMessageGuard hide_exceptions; line = mInterProcessComms.GetLine(false /* no pre-processing */, MaximumWaitTime); }