command/all: catch all exceptions
This commit is contained in:
parent
44444e1b89
commit
21fa44c0d5
|
@ -415,7 +415,7 @@ try {
|
|||
: CommandResult::ERROR;
|
||||
|
||||
return ret;
|
||||
} catch (const std::exception &e) {
|
||||
} catch (...) {
|
||||
Response r(client, num);
|
||||
PrintError(r, std::current_exception());
|
||||
return CommandResult::ERROR;
|
||||
|
|
Loading…
Reference in New Issue