Catch PendingIntent.CanceledException caused by send()

Accidentally changed in 050a073.
This commit is contained in:
Wang Han 2024-07-02 21:34:11 +08:00 committed by John Wu
parent 7dca5b831a
commit 4a2a37c87a

View File

@ -173,7 +173,7 @@ class DownloadEngine(
} else { } else {
notifyFinish(subject) notifyFinish(subject)
} }
} catch (e: IOException) { } catch (e: Exception) {
Timber.e(e) Timber.e(e)
notifyFail(subject) notifyFail(subject)
} }