From 68d845700ebd56403fb09a6c88c429383cb5b533 Mon Sep 17 00:00:00 2001 From: Jenea Vranceanu <36865532+JeneaVranceanu@users.noreply.github.com> Date: Sun, 5 Nov 2023 01:23:33 +0200 Subject: [PATCH] chore: updated error message --- Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift b/Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift index 42934c140..68d9b3a95 100644 --- a/Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift +++ b/Sources/web3swift/Utils/EIP/EIP712/EIP712Parser.swift @@ -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 }