Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@venncity/errors

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venncity/errors - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

8

CHANGELOG.md

@@ -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 @@

3

lib/cjs/errorReporting/sentry.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc