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

Return Error Content if validation fails #57

Open
LasneF opened this issue Nov 10, 2023 · 0 comments
Open

Return Error Content if validation fails #57

LasneF opened this issue Nov 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@LasneF
Copy link

LasneF commented Nov 10, 2023

current behaviour when there is a validation error is that it returns a 502

the enhancement i propose is that the returned payload contains
a structured error containning this list of failures , as well as the payload

this allow to have an off line diagnotics without the usuage of the (nice) UI

context of usage beeing newman + wiretap in CICD

given the fact that in case of error newman log the payload, it allows to understand that there was an error, and then to diagnose

it may requires a dedicated flag

@daveshanley daveshanley added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants