diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index dc77538bc..38e75697f 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -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;