queue/Save: queue_load_song() throws on error

Don't catch and log exceptions here; let the caller decide.
This commit is contained in:
Max Kellermann
2019-09-05 20:55:18 +02:00
parent 7775691965
commit 57808d1a1b
2 changed files with 5 additions and 11 deletions

View File

@@ -35,6 +35,8 @@ queue_save(BufferedOutputStream &os, const Queue &queue);
/**
* Loads one song from the state file and appends it to the queue.
*
* Throws on error.
*/
void
queue_load_song(TextFile &file, const SongLoader &loader,