@venncity/errors
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.9](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.0.8...@venncity/errors@2.0.9) (2021-01-20) | ||
**Note:** Version bump only for package @venncity/errors | ||
## [2.0.8](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@2.0.7...@venncity/errors@2.0.8) (2021-01-15) | ||
@@ -8,0 +16,0 @@ |
@@ -38,2 +38,3 @@ "use strict"; | ||
const XRAY_SEGMENT_TOO_LARGE = 'Segment too large to send'; // Happens when xray segment is too large, needs to be fixed but floods sentry. | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
// Run this ASAP so we won't miss errors that happen before init | ||
@@ -47,3 +48,3 @@ Sentry.init({ | ||
release: global.CODE_VERSION, | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
}); | ||
@@ -50,0 +51,0 @@ function setupSentry(event, context, authDetailsFromRequest) { |
@@ -16,2 +16,3 @@ import { pick, get } from 'lodash'; | ||
const XRAY_SEGMENT_TOO_LARGE = 'Segment too large to send'; // Happens when xray segment is too large, needs to be fixed but floods sentry. | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
// Run this ASAP so we won't miss errors that happen before init | ||
@@ -25,3 +26,3 @@ Sentry.init({ | ||
release: global.CODE_VERSION, | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
}); | ||
@@ -28,0 +29,0 @@ export function setupSentry(event, context, authDetailsFromRequest) { |
{ | ||
"name": "@venncity/errors", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"author": "Venn Engineering", | ||
@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js", | ||
"@sentry/types": "^5.22.3", | ||
"@venncity/nested-config": "^3.1.3", | ||
"@venncity/nested-config": "^3.1.4", | ||
"@venncity/schema-consts": "^4.1.9", | ||
@@ -46,3 +46,3 @@ "cls-hooked": "^4.2.2", | ||
}, | ||
"gitHead": "c9d3a0b08d94feb2abe01856e9d979841bde53f1" | ||
"gitHead": "e64fff77545a3e158c272e3431dc08d5fcf0b1a7" | ||
} |
@@ -28,5 +28,5 @@ import { pick, get } from 'lodash'; | ||
const XRAY_STARTUP_ERROR = 'Expected _X_AMZN_TRACE_ID to be set'; // Happens on lambda cold-starts. | ||
const XRAY_SEGMENT_TOO_LARGE = 'Segment too large to send'; // Happens when xray segment is too large, needs to be fixed but floods sentry. | ||
const XRAY_SUB_SEGMENT_TOO_LARGE = 'Subsegment too large to send'; | ||
@@ -41,3 +41,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] | ||
ignoreErrors: [XRAY_STARTUP_ERROR, XRAY_SEGMENT_TOO_LARGE, XRAY_SUB_SEGMENT_TOO_LARGE] | ||
}); | ||
@@ -44,0 +44,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
220973
3491