-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix(cli): [object Object]
in error message when CcApiContextProviderPlugin listResources
throws
#168
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
+ Coverage 84.78% 85.00% +0.22%
==========================================
Files 204 204
Lines 35647 35647
Branches 4606 4627 +21
==========================================
+ Hits 30222 30301 +79
+ Misses 5272 5195 -77
+ Partials 153 151 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Tietew thanks for the fix! The integ test failure seems unrelated. I'll take care of this. Please don't sync the branch with |
Integ tests are partly blocked at the moment. I'm happy enough this works though. |
Interporating
propertyMatch
directly in error message causes[object Object]
representation because it's an object.This PR wraps it in
JSON.stringify()
to fix the message correctly.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license