command: remove the obsolete Error support code

This commit is contained in:
Max Kellermann
2016-11-10 12:51:22 +01:00
parent 43b285ef7a
commit 741c6f1179
4 changed files with 1 additions and 42 deletions

View File

@@ -39,7 +39,6 @@
#include "client/Response.hxx"
#include "util/Macros.hxx"
#include "util/Tokenizer.hxx"
#include "util/Error.hxx"
#include "util/StringAPI.hxx"
#ifdef ENABLE_SQLITE
@@ -418,8 +417,4 @@ try {
Response r(client, num);
PrintError(r, std::current_exception());
return CommandResult::ERROR;
} catch (const Error &error) {
Response r(client, num);
print_error(r, error);
return CommandResult::ERROR;
}