This commit is contained in:
Horis committed 2022-10-20 11:18:21 +08:00
1 parent 6a334c19f0
commit 5ca76f4a78
1 file changed
+3 -1
@@ -167,8 +167,10 @@ class HttpReadAloudService : BaseReadAloudService(),
}
}
ensureActive()
response.body!!.byteStream().let { stream ->
downloadErrorNo = 0
return response.body!!.byteStream()
return stream
}
} catch (e: Exception) {
when (e) {
is CancellationException -> throw e