From b3dd2ebf3104a7e451ac34c8cca983f9ba3a31aa Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Sat, 18 Jan 2020 04:43:58 -0500 Subject: [PATCH] Removed GQL parse log --- components/graphql/queryeditor.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/components/graphql/queryeditor.vue b/components/graphql/queryeditor.vue index 46c21048b..23eb15a04 100644 --- a/components/graphql/queryeditor.vue +++ b/components/graphql/queryeditor.vue @@ -93,21 +93,14 @@ export default { parseContents: debounce(function (content) { try { - console.log(this.editor.session); - console.log(gql.parse(content)); - console.log("Parse Success"); + gql.parse(content); } catch (e) { - console.log(e); - console.log("Parse Failed"); - this.editor.session.setAnnotations([{ row: e.locations[0].line - 1, column: e.locations[0].column - 1, text: e.message, type: "error" }]); - console.log("Annotated"); - console.log(this.editor.session.getAnnotations()); } }, 2000) },