Skip to content

Commit 64dcc69

Browse files
olegfedorovdevgithub-actions[bot]
authored andcommitted
Add style url to the log when style fails to load
GitOrigin-RevId: d24aa19a300cb43c890b3e3130d00c08f8ed1242
1 parent c51a021 commit 64dcc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/androidTest/java/com/mapbox/maps/testapp/observable/ObservableEventsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ObservableEventsTest : BaseMapTest() {
126126
assertNotNull(eventData.timestamp.time)
127127
assertEquals(MapLoadingErrorType.STYLE, eventData.type)
128128
assertEquals(
129-
"Failed to load style: Couldn't connect to server: Exception in CronetUrlRequest: net::ERR_NAME_NOT_RESOLVED, ErrorCode=1, InternalErrorCode=-105, Retryable=false",
129+
"Failed to load style 'https://wrongurl': Couldn't connect to server: Exception in CronetUrlRequest: net::ERR_NAME_NOT_RESOLVED, ErrorCode=1, InternalErrorCode=-105, Retryable=false",
130130
eventData.message
131131
)
132132
latch.countDown()

0 commit comments

Comments
 (0)