From 7ad7caa2ae6164615ddf28846b7e9e2cdc6e844f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Mar 2016 00:19:47 +0100 Subject: [PATCH] queue/PlaylistUpdate: extend catch clause --- src/queue/PlaylistUpdate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/PlaylistUpdate.cxx b/src/queue/PlaylistUpdate.cxx index 8f9100818..13d4f4de6 100644 --- a/src/queue/PlaylistUpdate.cxx +++ b/src/queue/PlaylistUpdate.cxx @@ -36,7 +36,7 @@ UpdatePlaylistSong(const Database &db, DetachedSong &song) const LightSong *original; try { original = db.GetSong(song.GetURI(), IgnoreError()); - } catch (DatabaseError) { + } catch (const std::runtime_error &e) { return false; }