queue/PlaylistUpdate: extend catch clause

This commit is contained in:
Max Kellermann 2016-03-19 00:19:47 +01:00
parent 6d1710c74f
commit 7ad7caa2ae
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}