command: remove the obsolete Error support code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user