Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-21 11:24:36 +02:00
parent 3b269e6f6a
commit c40326c1c9
12 changed files with 128 additions and 58 deletions

View file

@ -335,7 +335,7 @@ internal class DefaultMarketsTokenRepository(
): T {
return when (error) {
is ApiResponseError.HttpException -> {
createEvent(MarketsDataAnalyticsEvent.Type.Http, error.code.code, error.message.orEmpty())
createEvent(MarketsDataAnalyticsEvent.Type.Http, error.code.numericCode, error.message.orEmpty())
}
is ApiResponseError.TimeoutException -> {
createEvent(MarketsDataAnalyticsEvent.Type.Timeout, null, error.message.orEmpty())