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

Improve error handling for policy resources #428

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Aug 19, 2020

As of today, provied cannot rely on vapi converter to return
conversion error in case target type does not match the actual
content. This change works around this issue and prints raw error
data whenever conversion is not succesful.
In addition, avoid erroring when VMC token decoder returns an error,
since for some error the token remains functional. Print a warning
instead.

As of today, provied cannot rely on vapi converter to return
conversion error in case target type does not match the actual
content. This change works around this issue and prints raw error
data whenever conversion is not succesful.
In addition, avoid erroring when VMC token decoder returns an error,
since for some error the token remains functional. Print a warning
instead.
@annakhm annakhm requested review from asarfaty and enhaocui August 19, 2020 22:15
@annakhm annakhm merged commit 85e0d69 into master Aug 20, 2020
@annakhm annakhm deleted the improve_errors branch August 20, 2020 15:50
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.

2 participants