Closed gabidobo closed 1 year ago
When encountering an unexpected error, Sandworm now asks users to submit a crash report.
This happens only in interactive envs (process.stdin.isTTY).
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.
Error
UsageError
Testing it out:
sandworm-audit
production
Closes #75
When encountering an unexpected error, Sandworm now asks users to submit a crash report.
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:
sandworm-audit
project, in theproduction
envCloses #75