Skip to content

fix: remove showing app name twice in errors#368

Merged
alecthomas merged 1 commit into
alecthomas:masterfrom
mitar:remove-duplicate-app-name
Jul 21, 2023
Merged

fix: remove showing app name twice in errors#368
alecthomas merged 1 commit into
alecthomas:masterfrom
mitar:remove-duplicate-app-name

Conversation

@mitar

@mitar mitar commented Jul 21, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Owner

Seems reasonable.

@alecthomas alecthomas merged commit 074ccd0 into alecthomas:master Jul 21, 2023
@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