Skip to content

Commit c5ad983

Browse files
committed
feat: Add error-message in case of event failure analytics
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 996a218 commit c5ad983

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/com/web3auth/core/Web3Auth.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,8 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
484484
AnalyticsManager.trackEvent(
485485
AnalyticsEvents.CONNECTION_STARTED,
486486
mutableMapOf<String, Any>(
487+
"chain_id" to web3AuthOption.defaultChainId.toString(),
488+
"chains" to (web3AuthOption.chains?.toString() ?: "[]"),
487489
"is_sfa" to true,
488490
)
489491
)

0 commit comments

Comments
 (0)