[Box Backup-dev] COMMIT r808 - box/chris/merge/bin/bbackupd
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Mon Aug 21 00:23:31 BST 2006
Author: chris
Date: 2006-08-21 00:23:31 +0100 (Mon, 21 Aug 2006)
New Revision: 808
Modified:
box/chris/merge/bin/bbackupd/BackupDaemon.cpp
Log:
* bin/bbackupd/BackupDaemon.cpp
- Removed redundant exception handler (BoxException extends std::exception)
- Changed error to warning if an exception is caught while trying to clean
up from another exception on the command socket
Modified: box/chris/merge/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/merge/bin/bbackupd/BackupDaemon.cpp 2006-08-20 23:12:32 UTC (rev 807)
+++ box/chris/merge/bin/bbackupd/BackupDaemon.cpp 2006-08-20 23:23:31 UTC (rev 808)
@@ -274,13 +274,6 @@
{
rSocket.Accept(BOX_NAMED_PIPE_NAME);
}
- catch(BoxException &e)
- {
- ::syslog(LOG_ERR, "Failed to open command socket: %s",
- e.what());
- SetTerminateWanted();
- break; // this is fatal to listening thread
- }
catch(std::exception &e)
{
::syslog(LOG_ERR, "Failed to open command socket: "
@@ -465,7 +458,7 @@
}
catch(std::exception &e)
{
- ::syslog(LOG_ERR, "Internal error while "
+ ::syslog(LOG_WARNING, "Internal error while "
"closing command socket after "
"another exception: %s", e.what());
}
More information about the Boxbackup-dev
mailing list