Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't print inner error when returning as source
According to rust-lang/project-error-handling#44 (comment), we should not be printing the inner error AND returning it as source. Libraries like `anyhow` will traverse the chain of `source` errors and build up a composed error message. Printing it and returning the same error from `source` results in duplicate error messages in that case.
- Loading branch information