winston-transport-sentry-node
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -28,3 +28,3 @@ "use strict"; | ||
this.name = info.name || "Error"; | ||
if (info.stack) { | ||
if (info.stack && typeof info.stack === "string") { | ||
this.stack = info.stack; | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "winston-transport-sentry-node", | ||
"description": "@sentry/node transport for the winston v3 logger", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"author": "Andrew Avdeev <andrewww.avdeev@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -39,3 +39,3 @@ import * as Sentry from "@sentry/node"; | ||
this.name = info.name || "Error"; | ||
if (info.stack) { | ||
if (info.stack && typeof info.stack === "string") { | ||
this.stack = info.stack; | ||
@@ -42,0 +42,0 @@ } |
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
25794