mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Add missing call to contentUploadStateTracker.setFailure
This commit is contained in:
parent
2099965508
commit
d24ce27903
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ internal class UploadContentWorker(context: Context, params: WorkerParameters) :
|
||||||
File(attachment.path)
|
File(attachment.path)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Timber.e(e)
|
Timber.e(e)
|
||||||
|
contentUploadStateTracker.setFailure(params.event.eventId)
|
||||||
return Result.success(
|
return Result.success(
|
||||||
WorkerParamsFactory.toData(params.copy(
|
WorkerParamsFactory.toData(params.copy(
|
||||||
lastFailureMessage = e.localizedMessage
|
lastFailureMessage = e.localizedMessage
|
||||||
|
|
Loading…
Reference in a new issue