music: correctly propagate error

This commit is contained in:
Alexander Capehart 2024-01-01 12:36:08 -07:00
parent b10caaef54
commit 17939f6b2a
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -436,7 +436,7 @@ constructor(
// to cascade to and cancel all other routines before finally bubbling up // to cascade to and cancel all other routines before finally bubbling up
// to the main extractor loop. // to the main extractor loop.
logE("MediaStore extraction failed: $e") logE("MediaStore extraction failed: $e")
incompleteSongs.close(Exception("MediaStore extraction failed: e")) incompleteSongs.close(Exception("MediaStore extraction failed: $e"))
return@async return@async
} }
incompleteSongs.close() incompleteSongs.close()