summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/BackupQueries.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-07 15:43:58 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-07 15:43:58 +0000
commit40b353bbe608ba440287650d6c276887e1e7c2f0 (patch)
tree28809e762bdb089e91e12be4e9f194c5435e9eb8 /bin/bbackupquery/BackupQueries.cpp
parentf5171997b5c2ec4ae36e6729b57e1194c99860a8 (diff)
Show more details when bbackupquery command parsing fails
Diffstat (limited to 'bin/bbackupquery/BackupQueries.cpp')
-rw-r--r--bin/bbackupquery/BackupQueries.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/bbackupquery/BackupQueries.cpp b/bin/bbackupquery/BackupQueries.cpp
index b8b9525b..6204cf90 100644
--- a/bin/bbackupquery/BackupQueries.cpp
+++ b/bin/bbackupquery/BackupQueries.cpp
@@ -114,7 +114,9 @@ void BackupQueries::DoCommand(ParsedCommand& rCommand)
if(rCommand.mFailed)
{
- BOX_ERROR("Parse failed");
+ BOX_ERROR("Parse failed: unknown command '" <<
+ rCommand.mCmdElements[0] << "' or failed to convert "
+ "encoding of arguments");
return;
}