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

fix: remove showing app name twice in errors #368

Merged
merged 1 commit into from Jul 21, 2023

Conversation

mitar
Copy link
Contributor

@mitar mitar commented Jul 21, 2023

Fixes #332.

So there is no need to prepend the app name at this point because kong.Errorf prepends all outputs with app name already. So the app-level failures should just return the error. Only when it is deeper we need additional information about the node where the error is coming from.

@mitar mitar force-pushed the remove-duplicate-app-name branch from 5a2e694 to 9f1b593 Compare July 21, 2023 11:55
@alecthomas
Copy link
Owner

Seems reasonable.

@alecthomas alecthomas merged commit 074ccd0 into alecthomas:master Jul 21, 2023
2 checks passed
@mitar mitar deleted the remove-duplicate-app-name branch July 21, 2023 12:12
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.

Too verbose error message when using Validate
2 participants