You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the logic to exit Sentry CLI with a specific code, backtraces are not printed by default in Sentry CLI. This makes it harder to debug issues, since we don't always know where in code an error originates from. With RUST_BACKTRACE support, we can instruct users experiencing errors to set the environment variable.
The `anyhow` crate we use for error handling adds stack backtraces errors whenever [certain standard environment variables](https://doc.rust-lang.org/std/backtrace/index.html#environment-variables) are set (e.g. when `RUST_BACKTRACE=1`).
Modify our error-printing logic to include these stack backtraces when printing errors that crash Sentry CLI, so that users can add this information to bug reports.
Closes#2187
Because of the logic to exit Sentry CLI with a specific code, backtraces are not printed by default in Sentry CLI. This makes it harder to debug issues, since we don't always know where in code an error originates from. With
RUST_BACKTRACE
support, we can instruct users experiencing errors to set the environment variable.Changes likely need to be made here:
sentry-cli/src/commands/mod.rs
Line 352 in df403cd
The text was updated successfully, but these errors were encountered: