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

Error messages that to be sent from embedding gateway #1118

Merged
merged 3 commits into from
May 28, 2024

Conversation

maheshrajamani
Copy link
Contributor

@maheshrajamani maheshrajamani commented May 24, 2024

What this PR does:
Added error messages that to be sent from embedding gateway.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@maheshrajamani maheshrajamani self-assigned this May 24, 2024
@maheshrajamani maheshrajamani requested a review from a team as a code owner May 24, 2024 16:19
@@ -46,6 +46,6 @@ public boolean validate(String provider, String value) {
}

void onStop(@Observes ShutdownEvent ev) {
channel.shutdown();
if (channel != null) channel.shutdown();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The channel is never initialized if no createCollection request hit the VM. Added a null check for proper shutdown of server.

Copy link
Contributor

@tatu-at-datastax tatu-at-datastax left a comment

Choose a reason for hiding this comment

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

LGTM!

@maheshrajamani maheshrajamani merged commit 5104a23 into main May 28, 2024
3 checks passed
@maheshrajamani maheshrajamani deleted the error-messages branch May 28, 2024 12:40
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.

2 participants