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

Feat: improved error handling/logging/unwraping #133

Merged
merged 5 commits into from
Jan 27, 2021

Conversation

kares
Copy link
Contributor

@kares kares commented Jan 26, 2021

~ same as logstash-plugins/logstash-input-beats#405 :

The unwrapping at the Java level is for exceptions wrapped by Netty.

Full exception details will be logged at debug level from the Java side - since we seem to prefer (manual) exception logging at the plugin level. We also make sure to log cause, if any, on the Ruby side which now catches all (expected) Java exceptions.

while also aligns with improvements done previously add beats'

resolves #134

@kares kares changed the title Feat: unwrap generic SSL error from Netty Feat: log and unwrap generic SSL error from Netty Jan 26, 2021
@kares kares changed the title Feat: log and unwrap generic SSL error from Netty Feat: improved error handling/logging/unwraping Jan 26, 2021
Copy link
Contributor

@robbavey robbavey left a comment

Choose a reason for hiding this comment

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

LGTM!

@kares kares marked this pull request as ready for review January 27, 2021 05:46
@kares kares merged commit 4c335a3 into logstash-plugins:master Jan 27, 2021
kaisecheng pushed a commit to kaisecheng/logstash-input-http that referenced this pull request Jun 8, 2021
The unwrapping at the Java level is for exceptions wrapped by Netty.

Full exception details will be logged at debug level from the Java side - since we seem to prefer (manual) exception logging at the plugin level. We also make sure to log cause, if any, on the Ruby side which now catches all (expected) Java exceptions.

resolves logstash-plugins#134
kaisecheng pushed a commit to kaisecheng/logstash-input-http that referenced this pull request Jun 8, 2021
The unwrapping at the Java level is for exceptions wrapped by Netty.

Full exception details will be logged at debug level from the Java side - since we seem to prefer (manual) exception logging at the plugin level. We also make sure to log cause, if any, on the Ruby side which now catches all (expected) Java exceptions.

resolves logstash-plugins#134
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.

javax.net.ssl.SSLException: failed to initialize the server-side SSL context
3 participants