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

Preserve case of server error messages #1258

Merged
merged 1 commit into from
May 13, 2024

Conversation

oscarwcl
Copy link
Contributor

Server errors can contain case-sensitive values like subject names which can cause confusion if not displayed in their original case.

This was motivated by this error: nats: permissions violation for publish to "$js.api.stream.info.kv_test", which is misleading since the actual subject is $JS.API.STREAM.INFO.KV_test.

Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Server errors can contain case-sensitive values like subject names which
can cause confusion if not displayed in their original case.
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks for your contribution!

@Jarema Jarema merged commit d8b59e0 into nats-io:main May 13, 2024
12 checks passed
@Jarema Jarema mentioned this pull request May 13, 2024
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.

3 participants