[Box Backup-commit] COMMIT r1746 - box/chris/general/bin/bbackupd
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 26 Jul 2007 22:41:16 +0100
Author: chris
Date: 2007-07-26 22:41:16 +0100 (Thu, 26 Jul 2007)
New Revision: 1746
Modified:
box/chris/general/bin/bbackupd/BackupDaemon.cpp
Log:
More helpful error messages when location setup failed. (refs #3,
merges [1729])
Modified: box/chris/general/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/general/bin/bbackupd/BackupDaemon.cpp 2007-07-26 21:40:45 UTC (rev 1745)
+++ box/chris/general/bin/bbackupd/BackupDaemon.cpp 2007-07-26 21:41:16 UTC (rev 1746)
@@ -1817,16 +1817,18 @@
{
delete ploc;
ploc = 0;
- BOX_ERROR("Failed to setup location '"
+ BOX_ERROR("Failed to configure location '"
<< ploc->mName << "' path '"
- << ploc->mPath << "': " << e.what());
+ << ploc->mPath << "': " << e.what() <<
+ ": please check for previous errors");
throw;
}
catch(...)
{
- BOX_ERROR("Failed to setup location '"
+ BOX_ERROR("Failed to configure location '"
<< ploc->mName << "' path '"
- << ploc->mPath << "'");
+ << ploc->mPath << "': please check for "
+ "previous errors");
delete ploc;
ploc = NULL;