From 58d6ddab9e44191eb953ecc449d22a748283eaf2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Jan 2019 22:19:32 +0100 Subject: [PATCH] FileCommands: catch all exceptions --- src/command/FileCommands.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }