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 1.7.25 to 1.7.26-addDebugLogsToSentry.0

6

lib/cjs/errorReporting/sentry.js

@@ -45,4 +45,7 @@ "use strict";

if (isSentryEnabled()) {
console.debug('Setting up sentry');
const tags = buildTags(event, authDetailsFromRequest, context);
const contexts = buildErrorContexts(event);
console.debug('AuthDetailsFromRequest:', authDetailsFromRequest);
console.debug('Contexts: ', contexts, ' Tags: ', tags);
Sentry.configureScope((scope) => {

@@ -59,2 +62,5 @@ if (authDetailsFromRequest.email) {

}
else {
console.debug('Sentry not enabled');
}
}

@@ -61,0 +67,0 @@ exports.setupSentry = setupSentry;

@@ -23,4 +23,7 @@ import { get, pick } from 'lodash';

if (isSentryEnabled()) {
console.debug('Setting up sentry');
const tags = buildTags(event, authDetailsFromRequest, context);
const contexts = buildErrorContexts(event);
console.debug('AuthDetailsFromRequest:', authDetailsFromRequest);
console.debug('Contexts: ', contexts, ' Tags: ', tags);
Sentry.configureScope((scope) => {

@@ -37,2 +40,5 @@ if (authDetailsFromRequest.email) {

}
else {
console.debug('Sentry not enabled');
}
}

@@ -39,0 +45,0 @@ // Wrapper for sentry object to allow us to replace the internal implementation in the future

6

package.json
{
"name": "@venncity/errors",
"version": "1.7.25",
"version": "1.7.26-addDebugLogsToSentry.0+d7e096c13",
"author": "Venn Engineering",

@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js",

"@sentry/types": "^5.22.3",
"@venncity/nested-config": "^2.0.33",
"@venncity/nested-config": "^2.0.34-addDebugLogsToSentry.0+d7e096c13",
"fast-safe-stringify": "^2.0.7",

@@ -44,3 +44,3 @@ "joi": "^14.3.1",

},
"gitHead": "f0951070e5701f12b11a5119c3e1fd470f05363b"
"gitHead": "d7e096c13d017891710e69fc9ed4cdb79fecf640"
}

@@ -30,4 +30,7 @@ import { get, pick } from 'lodash';

if (isSentryEnabled()) {
console.debug('Setting up sentry');
const tags = buildTags(event, authDetailsFromRequest, context);
const contexts = buildErrorContexts(event);
console.debug('AuthDetailsFromRequest:', authDetailsFromRequest);
console.debug('Contexts: ', contexts, ' Tags: ', tags);
Sentry.configureScope((scope) => {

@@ -43,2 +46,4 @@ if (authDetailsFromRequest.email) {

});
} else {
console.debug('Sentry not enabled');
}

@@ -45,0 +50,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