queue/PlaylistUpdate: extend catch clause
This commit is contained in:
parent
6d1710c74f
commit
7ad7caa2ae
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue