music: correctly propagate error

This commit is contained in:
Alexander Capehart
2024-01-01 12:36:08 -07:00
parent b10caaef54
commit 17939f6b2a
@@ -436,7 +436,7 @@ constructor(
// to cascade to and cancel all other routines before finally bubbling up
// to the main extractor loop.
logE("MediaStore extraction failed: $e")
incompleteSongs.close(Exception("MediaStore extraction failed: e"))
incompleteSongs.close(Exception("MediaStore extraction failed: $e"))
return@async
}
incompleteSongs.close()