diff options
author | Max Kellermann <max@musicpd.org> | 2019-01-21 22:19:32 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-01-21 22:19:32 +0100 |
commit | 58d6ddab9e44191eb953ecc449d22a748283eaf2 (patch) | |
tree | afa8c4e2e14b999a44bbbae79162c4e7b8aab643 | |
parent | 05db6934eb12e859b99f34c4d96674aeaa1ff90a (diff) |
FileCommands: catch all exceptions
-rw-r--r-- | src/command/FileCommands.cxx | 3 |
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; } |