Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit f1ed5df

Browse files
authored
Merge pull request #112 from onewelcome/ios_resource_crash
Ios resource crash
2 parents 18cc37e + 4f40c2d commit f1ed5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/NativeBridge/Errors/SdkError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private extension ResourceResponse {
104104
func toJSON() -> [String: Any?] {
105105
return ["statusCode": statusCode,
106106
"headers": allHeaderFields,
107-
"url": response.url,
107+
"url": response.url?.absoluteString,
108108
"body": data != nil ? String(data: data!, encoding: .utf8) : nil
109109
]
110110
}

0 commit comments

Comments
 (0)