@coderich/autograph
Advanced tools
Comparing version 0.13.96 to 0.13.97
{ | ||
"name": "@coderich/autograph", | ||
"main": "index.js", | ||
"version": "0.13.96", | ||
"version": "0.13.97", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "access": "public" |
@@ -25,4 +25,4 @@ const Boom = require('@hapi/boom'); | ||
} catch (e) { | ||
const { data = {} } = e; | ||
throw Boom.boomify(e, { data }); | ||
throw Boom.boomify(e); | ||
// const { data = {} } = e; | ||
// throw Boom.boomify(e, { data: { ...args, ...data } }); | ||
@@ -29,0 +29,0 @@ } |
@@ -321,4 +321,5 @@ const { graphql } = require('graphql'); | ||
}).then((result = query.result) => result).catch((e) => { | ||
const { data = {} } = e; | ||
throw Boom.boomify(e, { data: { ...event, ...data } }); | ||
throw Boom.boomify(e); | ||
// const { data = {} } = e; | ||
// throw Boom.boomify(e, { data: { ...event, ...data } }); | ||
}); | ||
@@ -325,0 +326,0 @@ } |
99419
2244