-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bib: propagate error messages from policy.Check()
The errors returned by policy.Check() can contain a reason for why a path was rejected, especially when the rejection is not based on the path policy itself. For example, a non-absolute or non-canonical path will be rejected. This information is useful for the user, so let's not discard that extra information and return all error messages we encountered. Co-authored-by: Michael Vogt <[email protected]>
- Loading branch information
1 parent
48e9207
commit a9a80b8
Showing
2 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters