diff options
author | Max Kellermann <max@musicpd.org> | 2019-09-01 12:57:24 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-09-01 12:57:24 +0200 |
commit | d3cc54d4eb123712dffc033256569dd3e03a78a9 (patch) | |
tree | 2a2addf487c10cac2754d3dd5b44fc3ba668c95d /src/TagArchive.cxx | |
parent | 71ef0faa2cdb75c53dab2198441eef510c042f5b (diff) |
TagArchive, db/update/Service: catch all exceptions
Diffstat (limited to 'src/TagArchive.cxx')
-rw-r--r-- | src/TagArchive.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TagArchive.cxx b/src/TagArchive.cxx index 08afbfebd..b038d03eb 100644 --- a/src/TagArchive.cxx +++ b/src/TagArchive.cxx @@ -33,7 +33,7 @@ try { return false; return tag_stream_scan(*is, handler); -} catch (const std::exception &e) { +} catch (...) { return false; } @@ -45,6 +45,6 @@ try { auto is = archive.OpenStream(path_utf8, mutex); return is && tag_stream_scan(*is, builder); -} catch (const std::exception &e) { +} catch (...) { return false; } |