Skip to content

Commit d3bf748

Browse files
committed
chores(Sentry): Move deleteToken sentry removal to another PR
1 parent 69f0c99 commit d3bf748

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/com/infomaniak/mail/utils/LoginUtils.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class LoginUtils @Inject constructor(
123123
infomaniakLogin.deleteToken(
124124
okHttpClient = HttpClient.okHttpClientNoTokenInterceptor,
125125
token = apiToken,
126-
onError = { SentryLog.i("DeleteTokenError", "API response error: $it") },
126+
onError = { SentryLog.e("DeleteTokenError", "API response error: $it") },
127127
)
128128
}
129129

app/src/main/java/com/infomaniak/mail/utils/LogoutUser.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class LogoutUser @Inject constructor(
7878
appContext.getInfomaniakLogin().deleteToken(
7979
okHttpClient = HttpClient.okHttpClientNoTokenInterceptor,
8080
token = apiToken,
81-
onError = { SentryLog.i("DeleteTokenError", "API response error: $it") },
81+
onError = { SentryLog.e("DeleteTokenError", "API response error: $it") },
8282
)
8383
}
8484

0 commit comments

Comments
 (0)