diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-08-20 23:23:31 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-08-20 23:23:31 +0000 |
commit | 512d2ccc4a5c512a70ee3464f8f7d894c5435051 (patch) | |
tree | 29908cf7c8842b9f88d97285f68b04750c2583cc /bin | |
parent | 1055cfd5777dbfa86fb72e8215a264cb5f0fe636 (diff) |
* 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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 7c279f73..9a3035ee 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -274,13 +274,6 @@ void BackupDaemon::RunHelperThread(void) { 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 @@ void BackupDaemon::Run() } 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()); } |