diff options
author | Max Kellermann <max@duempel.org> | 2016-03-19 00:13:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-19 00:19:50 +0100 |
commit | 2fd51826087897f2ce5bfd9ca27c1e167a3e4284 (patch) | |
tree | 2be6bbe1e4978ce4b8e9c7328e197477f1215575 /src/queue | |
parent | 7ad7caa2ae6164615ddf28846b7e9e2cdc6e844f (diff) |
db/Interface: GetSong() throws exception on error
Diffstat (limited to 'src/queue')
-rw-r--r-- | src/queue/PlaylistUpdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/PlaylistUpdate.cxx b/src/queue/PlaylistUpdate.cxx index 13d4f4de6..208b15222 100644 --- a/src/queue/PlaylistUpdate.cxx +++ b/src/queue/PlaylistUpdate.cxx @@ -35,7 +35,7 @@ UpdatePlaylistSong(const Database &db, DetachedSong &song) const LightSong *original; try { - original = db.GetSong(song.GetURI(), IgnoreError()); + original = db.GetSong(song.GetURI()); } catch (const std::runtime_error &e) { return false; } |