From 76245bbcf622c4051fbeb3fab45a26447b0865ed Mon Sep 17 00:00:00 2001 From: Peter Shih Date: Mon, 26 Jun 2023 21:03:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=9D=A2=E8=A9=A6=E7=B6=93=E9=A9=97=E8=A1=A8?= =?UTF-8?q?=E5=96=AE]=20=E9=8C=AF=E8=AA=A4=E8=A8=8A=E6=81=AF=E7=A7=BB?= =?UTF-8?q?=E9=99=A4Graphql=E8=A9=9E=E7=B6=B4=20(#1142)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/errors/graphqlError.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/errors/graphqlError.js b/src/utils/errors/graphqlError.js index 51f9a90dd..cc287fc37 100644 --- a/src/utils/errors/graphqlError.js +++ b/src/utils/errors/graphqlError.js @@ -10,7 +10,7 @@ const mapErrorPaths = R.map(R.prop('path')); class GraphqlError extends Error { constructor(errors) { - const message = `GraphqlError: ${mapErrorMessages(errors)}`; + const message = mapErrorMessages(errors); super(message); this.name = 'GraphqlError';