From 21fa44c0d5e151a225fce3f81e0eeb2ab1929360 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Aug 2019 20:23:54 +0200 Subject: command/all: catch all exceptions --- src/command/AllCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3