We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When reporting schema violations, I think we should include the full dump of the error object, not just the message.
autorest/src/autorest-core/lib/pipeline/schema-validation.ts
Lines 25 to 33 in 6a1a091
Replace error.message with something like JSON.stringify(error).
error.message
JSON.stringify(error)
The text was updated successfully, but these errors were encountered:
[v2] Report full error for schema violations (#4934)
3d50bb1
- Fixes #4933
mikeharder
No branches or pull requests
When reporting schema violations, I think we should include the full dump of the error object, not just the message.
autorest/src/autorest-core/lib/pipeline/schema-validation.ts
Lines 25 to 33 in 6a1a091
Replace
error.message
with something likeJSON.stringify(error)
.The text was updated successfully, but these errors were encountered: