Commit 21fa44c0 authored by Max Kellermann's avatar Max Kellermann

command/all: catch all exceptions

parent 44444e1b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment