diff options
author | Max Kellermann <max@musicpd.org> | 2019-08-20 20:23:54 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-08-20 20:23:54 +0200 |
commit | 21fa44c0d5e151a225fce3f81e0eeb2ab1929360 (patch) | |
tree | 637c05adc47e252c03ebaaab9cb1422b9a761360 /src | |
parent | 44444e1b89389b4430633676e0b27c6f2f37fb41 (diff) |
command/all: catch all exceptions
Diffstat (limited to 'src')
-rw-r--r-- | src/command/AllCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |