We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, is there any configuration to make a custom stacktrace filtering?
The cool feature would be to display only stacktrace from my domain, e.g. anything that will match this:
myProject\e2e\*
Thanks, Andrej
The text was updated successfully, but these errors were encountered:
Add an option to customize stacktrace filtering #72
e2b4908
With 3.1.0 version, you could now use stacktrace.filter option:
stacktrace.filter
{ spec: { displayStacktrace: true }, stacktrace: { filter: (stacktrace) => { const lines = stacktrace.split("\n"); const filtered = []; for (let i = 1; i < lines.length; i++) { if (/myProject\e2e/.test(lines[i])) { filtered.push(lines[i]); } } return filtered.join("\n"); } } }
Sorry, something went wrong.
No branches or pull requests
Hi there,
is there any configuration to make a custom stacktrace filtering?
The cool feature would be to display only stacktrace from my domain, e.g. anything that will match this:
myProject\e2e\*
Thanks,
Andrej
The text was updated successfully, but these errors were encountered: