Skip to content

Commit bc6f621

Browse files
chore: error message update
1 parent eb32f20 commit bc6f621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func checkError(method: String, error: JsonRpcErrorObject.RpcError) throws -> St
1515
if let result = spelunkData(value: error) {
1616
return result.data
1717
}
18-
throw Web3Error.nodeError(desc: "missing revert data in call exception; Transaction reverted without a reason string")
18+
throw Web3Error.nodeError(desc: "Error data decoding failed: missing revert data in exception; Transaction reverted without a reason string.")
1919
}
2020

2121
throw Web3Error.nodeError(desc: error.message)

0 commit comments

Comments
 (0)