retaildevcrews / helium

A secure Web API reference application using Managed Identity, Key Vault, and Cosmos DB that is designed to be deployed to Azure App Service or AKS.
MIT License
6 stars 7 forks source link

Add --log-error-details arg to webv #603

Closed bartr closed 4 years ago

bartr commented 4 years ago

There is a bug in webv where it doesn't display the errors if there are > 3 validation errors on a request.

We limit the errors for usability, but, I'm thinking we might want a param for cases like this where you want to see all of the errors.

we should add a command line arg (--log-error-details) and default to false - if set to true, log the error details. This will require updating the tab delimited log as well as the json log