Skip to content

Commit

Permalink
chore: updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
JeneaVranceanu authored Nov 4, 2023
1 parent 0b0b3fa commit 68d8457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class EIP712Parser {

static func toData(_ json: String) throws -> Data {
guard let json = json.data(using: .utf8) else {
throw Web3Error.inputError(desc: "EIP712Parser. Failed to parse EIP712 payload. Given string is not valid UTF8 string. \(json)")
throw Web3Error.inputError(desc: "EIP712Parser. Failed to parse EIP712 payload. Given string is not valid UTF8 string.")
}
return json
}
Expand Down

0 comments on commit 68d8457

Please sign in to comment.