Cover also the error case.
This commit is contained in:
parent
cf86fe34d5
commit
80d9b64e5a
@ -207,11 +207,11 @@ internal class DefaultSyncTask @Inject constructor(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
syncStatisticsData.downloadInitSyncTime = SystemClock.elapsedRealtime()
|
|
||||||
} else {
|
} else {
|
||||||
throw syncResponse.toFailure(globalErrorReceiver)
|
throw syncResponse.toFailure(globalErrorReceiver)
|
||||||
.also { Timber.tag(loggerTag.value).w("INIT_SYNC request failure: $this") }
|
.also { Timber.tag(loggerTag.value).w("INIT_SYNC request failure: $this") }
|
||||||
}
|
}
|
||||||
|
syncStatisticsData.downloadInitSyncTime = SystemClock.elapsedRealtime()
|
||||||
initialSyncStatusRepository.setStep(InitialSyncStatus.STEP_DOWNLOADED)
|
initialSyncStatusRepository.setStep(InitialSyncStatus.STEP_DOWNLOADED)
|
||||||
}
|
}
|
||||||
return workingFile
|
return workingFile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user