mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Add missing call to contentUploadStateTracker.setFailure
This commit is contained in:
parent
2099965508
commit
d24ce27903
@ -73,6 +73,7 @@ internal class UploadContentWorker(context: Context, params: WorkerParameters) :
|
||||
File(attachment.path)
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e)
|
||||
contentUploadStateTracker.setFailure(params.event.eventId)
|
||||
return Result.success(
|
||||
WorkerParamsFactory.toData(params.copy(
|
||||
lastFailureMessage = e.localizedMessage
|
||||
|
Loading…
Reference in New Issue
Block a user