File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Assets/Thirdweb/Core/Scripts Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ public static async Task<TransactionReceipt> ThirdwebWriteRawResult<TWFunction>(
65
65
var gas = await gasEstimator . EstimateGasAsync ( contractAddress , functionMessage ) ;
66
66
functionMessage . Gas = gas . Value < 100000 ? 100000 : gas . Value ;
67
67
}
68
- catch ( System . Exception e )
68
+ catch ( System . InvalidOperationException e )
69
69
{
70
- Debug . LogWarning ( $ "Failed to estimate gas for transaction, proceeding with 100k gas: { e . Message } ") ;
70
+ Debug . LogWarning ( $ "Failed to estimate gas for transaction, proceeding with 100k gas: { e } ") ;
71
71
}
72
72
}
73
73
@@ -130,6 +130,7 @@ public static async Task<TransactionReceipt> ThirdwebWriteRawResult<TWFunction>(
130
130
}
131
131
else
132
132
{
133
+ Debug . Log ( "Relayer Response: " + req . downloadHandler . text ) ;
133
134
var response = JsonConvert . DeserializeObject < RelayerResponse > ( req . downloadHandler . text ) ;
134
135
var result = JsonConvert . DeserializeObject < RelayerResult > ( response . result ) ;
135
136
txHash = result . txHash ;
You can’t perform that action at this time.
0 commit comments