-
Notifications
You must be signed in to change notification settings - Fork 75
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
Documentation for api 1.0.0-beta-1 #72
Comments
The code snippet you put there should indeed send the payload to rollbar. |
Ok. I finally had some time to test all my components with the 1.0.0-beta-1. I have three of them and two of them are working fine. The one that is not working is actually the one that caused me to open issue #67. Here's how i'm initializing rollbar and submiting an error: Here's a stacktrace that is not being sent: Maybe you should throw an Exception whenever an error could not be sent to rollbar. |
I think you could monitor it attaching an event listener to the
|
Here it is! Error: com.rollbar.notifier.sender.exception.SenderException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Thanks to this i was able to figure out what was causing the issue. I've replaced java's trustStore by a local store file and that was causing an ssl handshake error (couldn't validate your certificate's chain). I really think you should throw an exception whenever a payload isn't sent. Anyway, thank you very much for your help on finding the issue. |
@helderribeirosousa glad you were able to fix the problem, and thanks for following up! I've filed #76 to track changes related to making this kind of thing easier to find. |
I've seen you've added my previous issue (#67) to the changelog for the 1.0.0-beta-1 version. Thank you.
Now i've updated to that version but now NONE of my issues are being sent to rollbar!
I mean... Where's the javadoc for the 1.0.0-beta-1 version?
I'm using this code...
`public static final Rollbar rollbar = new Rollbar(withAccessToken("ACCESS_TOKEN").environment("production").build());
Map<String,Object> custom = new HashMap<>();
custom.put("fingerprint",code);
custom.put("message",message);
rollbar.critical(myThrowable,custom);`
This is supposed to send the payload to rollbar right?
Seriously guys... I need to have this on components that are being used in production ASAP.
And let's pretend that i'm not actually having to resort to a beta build in such environments in the first place.
The text was updated successfully, but these errors were encountered: