diff --git a/test/index.js b/test/index.js index d3545d4..5f2521e 100644 --- a/test/index.js +++ b/test/index.js @@ -256,6 +256,10 @@ const sine = sineQL(schema, { queryHandlers }, { debug: false }); while(true) { const answer = await question('sineQL'); const [code, result] = await sine(answer); - console.dir(result, { depth: null }); + + //normal response + if (code == 200) { + console.dir(result, { depth: null }); + } } })(); \ No newline at end of file