Comparing version 5.12.0 to 5.12.1
@@ -813,3 +813,6 @@ "use strict"; | ||
this.stacktrace.push(err.stack); | ||
if (this.opts.stackTraceLimit) { | ||
if (this.opts.stackTraceLimit === 0) { | ||
this.stacktrace = []; | ||
} | ||
else if (this.opts.stackTraceLimit) { | ||
this.stacktrace = this.stacktrace.slice(-this.opts.stackTraceLimit); | ||
@@ -816,0 +819,0 @@ } |
@@ -810,3 +810,6 @@ import { __rest } from "tslib"; | ||
this.stacktrace.push(err.stack); | ||
if (this.opts.stackTraceLimit) { | ||
if (this.opts.stackTraceLimit === 0) { | ||
this.stacktrace = []; | ||
} | ||
else if (this.opts.stackTraceLimit) { | ||
this.stacktrace = this.stacktrace.slice(-this.opts.stackTraceLimit); | ||
@@ -813,0 +816,0 @@ } |
{ | ||
"name": "bullmq", | ||
"version": "5.12.0", | ||
"version": "5.12.1", | ||
"description": "Queue for messages and jobs based on Redis", | ||
@@ -5,0 +5,0 @@ "homepage": "https://bullmq.io/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1620651
26389