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

Prevent infinite source recursion in ConfigError #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tillrohrmann
Copy link

@tillrohrmann tillrohrmann commented Dec 6, 2024

Please make sure these boxes are checked, before submitting a new PR.

  • You ran the local CI checker with ./check.sh with no errors
  • You reference which issue is being closed in the PR text (if applicable)

Issues

This fixes #145.

Other Changes

Returning itself when calling Error::source seems to break the formatting when converting the ConfigError into anyhow::Error. On my machine and env, it seemed to silently crash a Tokio task.

Returning itself when calling Error::source seems to break the formatting
when converting the ConfigError into anyhow::Error. On my machine and env,
it seemed to silently crash a Tokio task.
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.

ConfigError::source implementation crashes formatting when being cast into anyhow::Error
1 participant