From 4e77a2475511ee77160612319497aebe44509746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=ABl=20Mugnier?= Date: Sun, 8 Nov 2020 13:04:47 +0100 Subject: [PATCH] =?UTF-8?q?Update=20-=20Ne=20pas=20remonter=20l'extension?= =?UTF-8?q?=20message=20qui=20peut=20=C3=AAtre=20un=20message=20technique?= =?UTF-8?q?=20non=20pars=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/SheaftGraphQL.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/SheaftGraphQL.js b/src/services/SheaftGraphQL.js index 5c7f3560..02598355 100644 --- a/src/services/SheaftGraphQL.js +++ b/src/services/SheaftGraphQL.js @@ -297,10 +297,7 @@ class SheaftGraphQL { } if (!message) { - message = - graphQlError.extensions && graphQlError.extensions.message - ? graphQlError.extensions.message - : graphQlError.message; + message = graphQlError.message; } errors.push({