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;
|
const LightSong *original;
|
||||||
try {
|
try {
|
||||||
original = db.GetSong(song.GetURI(), IgnoreError());
|
original = db.GetSong(song.GetURI(), IgnoreError());
|
||||||
} catch (DatabaseError) {
|
} catch (const std::runtime_error &e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user