You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error from the cedar_policy should be included in the error message as it contains useful information such as serialization issues or schema errors.
* #67 Add cause of provider error in wrapper error
* Update changelog
* Fix failing test and semvar refactor to avoid major version upgrade
Signed-off-by: Shirom Makkad <[email protected]>
Before opening, please confirm:
Bug Category
Other
Describe the bug
If there is an error with parsing an entities or policy file a generic error is returned
This message contains no useful information other than the file path.
Examples of where this occurs
Expected behavior
The error from the cedar_policy should be included in the error message as it contains useful information such as serialization issues or schema errors.
https://docs.rs/cedar-policy/latest/cedar_policy/enum.EntitiesError.html
Reproduction steps
Create a entity provider with invalid entities.json file
Code Snippet
No response
Log output
No response
Additional configuration
No response
Operating System
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: