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

@dotcom-reliability-kit/log-error

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/log-error - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

lib/index.js

@@ -75,3 +75,3 @@ const appInfo = require('@dotcom-reliability-kit/app-info');

const logMethod = logger[level] || logger.error;
logMethod(logData);
logMethod.call(logger, logData);
} catch (/** @type {any} */ loggingError) {

@@ -78,0 +78,0 @@ // We allow use of `console.log` here to ensure that critical

{
"name": "@dotcom-reliability-kit/log-error",
"version": "3.0.0",
"version": "3.0.1",
"description": "A method to consistently log error object with optional request information",

@@ -20,3 +20,3 @@ "repository": {

"@dotcom-reliability-kit/app-info": "^2.1.0",
"@dotcom-reliability-kit/logger": "^2.2.7",
"@dotcom-reliability-kit/logger": "^2.2.8",
"@dotcom-reliability-kit/serialize-error": "^2.1.0",

@@ -23,0 +23,0 @@ "@dotcom-reliability-kit/serialize-request": "^2.2.0"

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