@venncity/errors
Advanced tools
Comparing version 2.0.9 to 2.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.1.0](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.0.9...@venncity/errors@2.1.0) (2021-01-25) | ||
### Features | ||
* **graphql-handler:** add a graphql query complexity validator ([#1553](https://github.com/venn-city/npm-shelf/issues/1553)) ([3ffbaa1](https://github.com/venn-city/npm-shelf/commit/3ffbaa159664e85c4a218484478487f866a00736)) | ||
## [2.0.9](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.0.8...@venncity/errors@2.0.9) (2021-01-20) | ||
@@ -8,0 +19,0 @@ |
@@ -24,3 +24,3 @@ "use strict"; | ||
setErrorOnNamespace(error); | ||
const originalError = error.originalError; | ||
const originalError = error.originalError || error; | ||
const body = formatError_1.handleErrorThrown(originalError); | ||
@@ -27,0 +27,0 @@ if (config.has('service.exposeErrors') && config.get('service.exposeErrors')) { |
@@ -18,3 +18,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
setErrorOnNamespace(error); | ||
const originalError = error.originalError; | ||
const originalError = error.originalError || error; | ||
const body = handleErrorThrown(originalError); | ||
@@ -21,0 +21,0 @@ if (config.has('service.exposeErrors') && config.get('service.exposeErrors')) { |
{ | ||
"name": "@venncity/errors", | ||
"version": "2.0.9", | ||
"version": "2.1.0", | ||
"author": "Venn Engineering", | ||
@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js", | ||
"@sentry/types": "^5.22.3", | ||
"@venncity/nested-config": "^3.1.4", | ||
"@venncity/nested-config": "^3.1.5", | ||
"@venncity/schema-consts": "^4.1.9", | ||
@@ -46,3 +46,3 @@ "cls-hooked": "^4.2.2", | ||
}, | ||
"gitHead": "e64fff77545a3e158c272e3431dc08d5fcf0b1a7" | ||
"gitHead": "ddb2b940cbcd4b6cd34cf29cdf7fa7e278ff3502" | ||
} |
@@ -9,3 +9,3 @@ import jsonStringify from 'fast-safe-stringify'; | ||
setErrorOnNamespace(error); | ||
const originalError = error.originalError; | ||
const originalError = error.originalError || error; | ||
const body = handleErrorThrown(originalError); | ||
@@ -12,0 +12,0 @@ if (config.has('service.exposeErrors') && config.get('service.exposeErrors')) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221386