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

pino-sentry

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-sentry - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

5

dist/transport.js

@@ -91,4 +91,4 @@ "use strict";

}
;
const tags = chunk.tags || {};
const breadcrumbs = chunk.breadcrumbs || {};
if (chunk.reqId) {

@@ -118,2 +118,5 @@ tags.uuid = chunk.reqId;

}
if (this.isObject(breadcrumbs)) {
Object.values(breadcrumbs).forEach(breadcrumb => scope.addBreadcrumb(breadcrumb));
}
// Capturing Errors / Exceptions

@@ -120,0 +123,0 @@ if (this.isSentryException(severity)) {

2

package.json
{
"name": "pino-sentry",
"description": "@sentry/node transport for pino logger",
"version": "0.8.0",
"version": "0.9.0",
"author": "Andrew Avdeev <andrewww.avdeev@gmail.com>",

@@ -6,0 +6,0 @@ "keywords": [

@@ -48,2 +48,15 @@

logger.info({ extra : { foo : "bar" }, msg : "Error" });
// add breadcrumbs
// https://docs.sentry.io/platforms/node/enriching-events/breadcrumbs/
logger.info({
msg: "Error",
breadcrumbs: [
{
category: "auth",
message: "Authenticated user " + user.email,
level: "info",
},
]
});
```

@@ -50,0 +63,0 @@

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