Fix a crash: java.util.IllegalFormatPrecisionException

https://github.com/matrix-org/element-android-rageshakes/issues/33398
This commit is contained in:
Benoit Marty 2022-02-02 10:33:19 +01:00
parent 0391684334
commit cd1171eb9d

View file

@ -395,7 +395,7 @@ internal class TimelineChunk(private val chunkEntity: ChunkEntity,
paginationTask.execute(taskParams).toLoadMoreResult()
}
} catch (failure: Throwable) {
Timber.e("Failed to fetch from server: $failure", failure)
Timber.e(failure, "Failed to fetch from server")
LoadMoreResult.FAILURE
}
return if (loadMoreResult == LoadMoreResult.SUCCESS) {