Skip to content
New issue

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

feat: enable backtraces by default #7562

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

matklad
Copy link
Contributor

@matklad matklad commented Sep 6, 2022

This is a great help in debugging, and I don't think there's much
downside to doing that? Capturing a backtrace is somewhat costly,
especially on windows, but given that we run with panic=abort, that's
bound to be a pretty cold path anyways!

To disable backtraces, set RUST_BACKTRACE=0 env variable.

Test Plan

Manually check that both default&override work

This is a great help in debugging, and I don't think there's much
downside to doing that? Capturing a backtrace is somewhat costly,
especially on windows, but given that we run with panic=abort, that's
bound to be a pretty cold path anyways!

To disable backtraces, set `RUST_BACKTRACE=0` env variable.
@near-bulldozer near-bulldozer bot merged commit cfc81df into near:master Sep 7, 2022
nikurt pushed a commit that referenced this pull request Sep 7, 2022
This is a great help in debugging, and I don't think there's much
downside to doing that? Capturing a backtrace is somewhat costly,
especially on windows, but given that we run with panic=abort, that's
bound to be a pretty cold path anyways!

To disable backtraces, set `RUST_BACKTRACE=0` env variable.

Test Plan
---------

Manually check that both default&override work
nikurt pushed a commit that referenced this pull request Nov 9, 2022
This is a great help in debugging, and I don't think there's much
downside to doing that? Capturing a backtrace is somewhat costly,
especially on windows, but given that we run with panic=abort, that's
bound to be a pretty cold path anyways!

To disable backtraces, set `RUST_BACKTRACE=0` env variable.

Test Plan
---------

Manually check that both default&override work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants