diff --git a/Sources/TorusUtils/Helpers/NodeUtils.swift b/Sources/TorusUtils/Helpers/NodeUtils.swift index 7c9c2127..dc053b02 100644 --- a/Sources/TorusUtils/Helpers/NodeUtils.swift +++ b/Sources/TorusUtils/Helpers/NodeUtils.swift @@ -602,7 +602,7 @@ internal class NodeUtils { isUpgraded = metadataNonce == BigInt(0) } - SentryUtils.logInformation(clientId: TorusUtils.getClientId(), finalEvmAddress: finalEvmAddress, finalPrivKey: finalPrivKey, platform: "torus-utils-swift") + SentryUtils.logInformation(clientId: TorusUtils.getClientId(), finalEvmAddress: finalEvmAddress, platform: "torus-utils-swift") return TorusKey( finalKeyData: TorusKey.FinalKeyData( diff --git a/Sources/TorusUtils/analytics/SentryUtils.swift b/Sources/TorusUtils/analytics/SentryUtils.swift index ea0c8e03..c8455f48 100644 --- a/Sources/TorusUtils/analytics/SentryUtils.swift +++ b/Sources/TorusUtils/analytics/SentryUtils.swift @@ -32,11 +32,10 @@ class SentryUtils { } // Static method to log information by setting tags - static func logInformation(clientId: String, finalEvmAddress: String, finalPrivKey: String, platform: String) { + static func logInformation(clientId: String, finalEvmAddress: String, platform: String) { SentrySDK.configureScope { scope in scope.setTag(value: clientId, key: "clientId") scope.setTag(value: finalEvmAddress, key: "finalEvmAddress") - scope.setTag(value: finalPrivKey, key: "finalPrivKey") scope.setTag(value: platform, key: "platform") } }