diff --git a/haechi.face.unity.sdk/Runtime/Module/Wallet.cs b/haechi.face.unity.sdk/Runtime/Module/Wallet.cs index a9c944d..db8151d 100644 --- a/haechi.face.unity.sdk/Runtime/Module/Wallet.cs +++ b/haechi.face.unity.sdk/Runtime/Module/Wallet.cs @@ -8,6 +8,7 @@ using haechi.face.unity.sdk.Runtime.Client.Face; using haechi.face.unity.sdk.Runtime.Exception; using haechi.face.unity.sdk.Runtime.Type; +using haechi.face.unity.sdk.Runtime.Utils; using UnityEngine; namespace haechi.face.unity.sdk.Runtime.Module @@ -139,6 +140,7 @@ public async Task SwitchNetwork(BlockchainNetwork network) FaceRpcResponse response = await this._provider.SendFaceRpcAsync(rpcRequest); if (!response.CastResult().Equals(network.ToNetworkString())) { + DebugLogging.DebugLog($"Failed to switch network to {network.ToNetworkString()}, received {response.CastResult()}"); throw new SwitchNetworkFailedException(); } FaceSettings.Instance.SetNetwork(network);