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

Fixes #16063: Enable backtrace in relayd #2557

Conversation

amousset
Copy link
Member

@amousset amousset force-pushed the arch_16063/enable_backtrace_in_relayd branch from 3444873 to 217d0eb Compare October 25, 2019 15:14
@amousset
Copy link
Member Author

Commit modified

// and can be helpful to troubleshoot production crashes
env::set_var("RUST_BACKTRACE", "1");

assert!(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need the assert ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test that crashes actually produce backtraces 🙃

@amousset
Copy link
Member Author

Commit modified

@amousset amousset force-pushed the arch_16063/enable_backtrace_in_relayd branch from 217d0eb to bdbc31b Compare October 25, 2019 15:17
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit bdbc31b into Normation:branches/rudder/6.0 Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants