sandworm-hq / sandworm-audit

Security & License Compliance For Your App's Dependencies 🪱
https://sandworm.dev
MIT License
471 stars 5 forks source link

Opt-in crash reports #76

Closed gabidobo closed 1 year ago

gabidobo commented 1 year ago

When encountering an unexpected error, Sandworm now asks users to submit a crash report.

image

This happens only in interactive envs (process.stdin.isTTY).

ℹ️ A new Error subclass has been added: UsageError. Usage errors are "expected", related to setup/usage, and do not trigger the crash report process.

Testing it out:

Closes #75