@venncity/errors
Advanced tools
Comparing version 1.7.20 to 1.7.21
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.7.21](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.7.20...@venncity/errors@1.7.21) (2020-08-30) | ||
**Note:** Version bump only for package @venncity/errors | ||
## [1.7.20](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.7.19...@venncity/errors@1.7.20) (2020-08-26) | ||
@@ -8,0 +16,0 @@ |
@@ -64,3 +64,3 @@ "use strict"; | ||
function isSentryEnabled() { | ||
const shouldSendErrorsForEnv = process.env.stage !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
const shouldSendErrorsForEnv = process.env.STAGE !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
return !!process.env.SENTRY_DSN && shouldSendErrorsForEnv; | ||
@@ -67,0 +67,0 @@ } |
@@ -41,3 +41,3 @@ import { get, pick } from 'lodash'; | ||
function isSentryEnabled() { | ||
const shouldSendErrorsForEnv = process.env.stage !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
const shouldSendErrorsForEnv = process.env.STAGE !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
return !!process.env.SENTRY_DSN && shouldSendErrorsForEnv; | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "@venncity/errors", | ||
"version": "1.7.20", | ||
"version": "1.7.21", | ||
"author": "Venn Engineering", | ||
@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js", | ||
"@sentry/types": "^5.21.4", | ||
"@venncity/nested-config": "^2.0.28", | ||
"@venncity/nested-config": "^2.0.29", | ||
"fast-safe-stringify": "^2.0.7", | ||
@@ -44,3 +44,3 @@ "joi": "^14.3.1", | ||
}, | ||
"gitHead": "74a429190ba6259188e138c9668843e69e5e9508" | ||
"gitHead": "c9a5fff594f96d0db29ea47d0238878cb73d0dfa" | ||
} |
@@ -47,3 +47,3 @@ import { get, pick } from 'lodash'; | ||
function isSentryEnabled() { | ||
const shouldSendErrorsForEnv = process.env.stage !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
const shouldSendErrorsForEnv = process.env.STAGE !== 'test' || process.env.REPORT_ERRORS_IN_TEST === 'true'; | ||
return !!process.env.SENTRY_DSN && shouldSendErrorsForEnv; | ||
@@ -50,0 +50,0 @@ } |
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
209459