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

Modifies tracing to removed Cause based errors. #63

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

tlm
Copy link
Member

@tlm tlm commented Sep 28, 2023

This work changes tracing to now offer a new Locationer based error into stack. Printing an Error stack now will provide a line for each error in the stack by calling Unwrap() till no more errors are found.

This fundementally changes the output produced by ErrorStack to now just include each call to Trace() but also contain the value of the error at each Trace() call.

This PR also provides a new documentation worked example.

JUJU-4699

This work changes tracing to now offer a new Locationer based error into
stack. Printing an Error stack now will provide a line for each error in
the stack by calling Unwrap() till no more errors are found.

This fundementally changes the output produced by ErrorStack to now just
include each call to Trace() but also contain the value of the error at
each Trace() call.

This PR also provides a new documentation worked example.
Copy link
Member

@hpidcock hpidcock left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for removing cause stuff.

@tlm
Copy link
Member Author

tlm commented Oct 23, 2023

/merge

@jujubot jujubot merged commit b3cee46 into juju:v2 Oct 23, 2023
1 of 2 checks passed
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.

3 participants