summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-01-21 22:19:32 +0100
committerMax Kellermann <max@musicpd.org>2019-01-21 22:19:32 +0100
commit58d6ddab9e44191eb953ecc449d22a748283eaf2 (patch)
treeafa8c4e2e14b999a44bbbae79162c4e7b8aab643
parent05db6934eb12e859b99f34c4d96674aeaa1ff90a (diff)
FileCommands: catch all exceptions
-rw-r--r--src/command/FileCommands.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx
index c8af5c19b..9b3d7417d 100644
--- a/src/command/FileCommands.cxx
+++ b/src/command/FileCommands.cxx
@@ -256,7 +256,8 @@ find_stream_art(const char *directory, Mutex &mutex)
try {
return InputStream::OpenReady(art_file.c_str(), mutex);
- } catch (const std::exception &e) {}
+ } catch (...) {
+ }
}
return nullptr;
}