@venncity/errors
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.1.7](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.1.6...@venncity/errors@2.1.7) (2021-04-05) | ||
**Note:** Version bump only for package @venncity/errors | ||
## [2.1.6](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.1.5...@venncity/errors@2.1.6) (2021-03-25) | ||
@@ -8,0 +16,0 @@ |
@@ -39,2 +39,3 @@ "use strict"; | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
const SENTRY_IGNORE_ANNOTATION = 'SENTRY IGNORE'; | ||
// Run this ASAP so we won't miss errors that happen before init | ||
@@ -48,3 +49,3 @@ Sentry.init({ | ||
release: global.CODE_VERSION, | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE, SENTRY_IGNORE_ANNOTATION] | ||
}); | ||
@@ -51,0 +52,0 @@ function setupSentry(event, context, authDetailsFromRequest) { |
@@ -17,2 +17,3 @@ import { pick, get } from 'lodash'; | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
const SENTRY_IGNORE_ANNOTATION = 'SENTRY IGNORE'; | ||
// Run this ASAP so we won't miss errors that happen before init | ||
@@ -26,3 +27,3 @@ Sentry.init({ | ||
release: global.CODE_VERSION, | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE, SENTRY_IGNORE_ANNOTATION] | ||
}); | ||
@@ -29,0 +30,0 @@ export function setupSentry(event, context, authDetailsFromRequest) { |
{ | ||
"name": "@venncity/errors", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"author": "Venn Engineering", | ||
@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js", | ||
"@sentry/types": "^5.22.3", | ||
"@venncity/nested-config": "^3.1.11", | ||
"@venncity/nested-config": "^3.1.12", | ||
"@venncity/schema-consts": "^4.2.2", | ||
@@ -46,3 +46,3 @@ "cls-hooked": "^4.2.2", | ||
}, | ||
"gitHead": "69797e0b4cb961c361188a00b6da05a664a7c4e6" | ||
"gitHead": "1f416a38974340c1133759eebb2e58117c33a584" | ||
} |
@@ -31,2 +31,3 @@ import { pick, get } from 'lodash'; | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
const SENTRY_IGNORE_ANNOTATION = 'SENTRY IGNORE'; | ||
@@ -41,3 +42,3 @@ // Run this ASAP so we won't miss errors that happen before init | ||
release: global.CODE_VERSION, | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE, SENTRY_IGNORE_ANNOTATION] | ||
}); | ||
@@ -44,0 +45,0 @@ |
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
224636
3509