error-stack-parser versions < 2.1.4 causes stack parsing to fail with ErrorStackParser.parse is not a function
error
#1340
Labels
ErrorStackParser.parse is not a function
error
#1340
🐞 bug report
Affected Package
The issue is caused by package
@airbrake/node
Is this a regression?
Yes, we noticed that we weren't getting Airbrake stack traces in our node service for a few months. The regression likely occurred due to Dependabot version upgrades of
error-stack-parser
which still satisfied the version requirements of this package (^2.1.4
) but which cause the regression in stack parsing and led to stack traces not being available in Airbrake.Description
According to this thread:
This package should not allow any of the affected versions.
🔬 Minimal Reproduction
https://gist.github.com/...See stacktracejs/error-stack-parser#80 for more info and possible repro steps. Using v2.1.3 of
error-stack-parser
and trying to log an airbrake error for an exception should result in an error like (obviously stack and error details are specific to my setup & code):🔥 Exception or Error
🌍 Your Environment
@airbrake/* version:
Anything else relevant?
I'm using
error-stack-parser
2.1.3
The text was updated successfully, but these errors were encountered: