summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-20 20:23:54 +0200
committerMax Kellermann <max@musicpd.org>2019-08-20 20:23:54 +0200
commit21fa44c0d5e151a225fce3f81e0eeb2ab1929360 (patch)
tree637c05adc47e252c03ebaaab9cb1422b9a761360 /src
parent44444e1b89389b4430633676e0b27c6f2f37fb41 (diff)
command/all: catch all exceptions
Diffstat (limited to 'src')
-rw-r--r--src/command/AllCommands.cxx2
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;