File tree 2 files changed +8
-2
lines changed
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import net.mullvad.mullvadvpn.test.common.constant.LOGIN_FAILURE_TIMEOUT
5
5
import net.mullvad.mullvadvpn.test.common.extension.clickAgreeOnPrivacyDisclaimer
6
6
import net.mullvad.mullvadvpn.test.common.extension.clickAllowOnNotificationPermissionPromptIfApiLevel33AndAbove
7
7
import net.mullvad.mullvadvpn.test.common.extension.findObjectWithTimeout
8
- import net.mullvad.mullvadvpn.test.e2e.annotations.HighlyRateLimited
9
8
import net.mullvad.mullvadvpn.test.e2e.misc.AccountTestRule
10
9
import org.junit.jupiter.api.Test
11
10
import org.junit.jupiter.api.extension.RegisterExtension
Original file line number Diff line number Diff line change @@ -194,7 +194,14 @@ class SimpleMullvadHttpClient(context: Context) {
194
194
" Unable to verify account due to invalid account or connectivity issues."
195
195
196
196
private val onErrorResponse = { error: VolleyError ->
197
- Logger .e(" Response returned error status code: ${error.networkResponse.statusCode} " )
197
+ if (error.networkResponse != null ) {
198
+ Logger .e(
199
+ " Response returned error message: ${error.message} " +
200
+ " status code: ${error.networkResponse.statusCode} "
201
+ )
202
+ } else {
203
+ Logger .e(" Response returned error: ${error.message} " )
204
+ }
198
205
}
199
206
}
200
207
}
You can’t perform that action at this time.
0 commit comments