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

Disable stack traces for normal errors in release mode #687

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

Kobzol
Copy link
Collaborator

@Kobzol Kobzol commented Mar 13, 2024

Since the recent panic/debuginfo/stacktrace changes, HQ has been printing a stacktrace even when a normal error was propagated back to main, not just for panics. That is quite annoying to users, and we should just not do that in release mode (also because of performance, although that's probably not that important in this case, as errors should be rare).

@Kobzol Kobzol requested a review from spirali March 13, 2024 13:10
@Kobzol Kobzol enabled auto-merge (rebase) March 13, 2024 13:12
@Kobzol Kobzol merged commit 7d52f2a into main Mar 13, 2024
7 checks passed
@Kobzol Kobzol deleted the no-backtrace-for-errors branch March 13, 2024 13:14
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