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
Client doesn't log errors #239
Comments
I observe the same issue on versions 19.0 and 0d9d1d0. I've traced through the panic handler and can see the sentry handler run, but the event doesn't show up in the web interface. |
I’m able to reproduce this, but it seems quite random, will investigate. |
This hasn't been resolved with 0.20.0, has it? |
I had hoped that it has. Can you provide any more Info on this? |
I unfortunately am not familiar with usage of |
Can confirm that this is still happening even with the minimal example that is stated in the docs. Using version EDIT: I tried versions fn main() {
let _guard = sentry::init("https://key@sentry.io/42"); // Using my sentry intake adress ofc
panic!("Everything is on fire!");
} |
@Mastermindaxe Up to SDK version Beginning with SDK version |
Ah okay! Disregard my testing up to version |
I was encountering this in both To clarify: by default, HTTPS calls will fail with Hyper in a Debian Docker container because no certificates are trusted out-of-the-box. So make sure you This was pretty hard to debug since sentry/hyper isn't logging the SSL error by default. I turned on Before the fix
After the fix
It would be nice if you didn't need the |
I'm also having issues with this. If I add:
before the |
I'm reproducing this on macos, same code succeeds on debian with the ca-certificates package installed. |
This example does not send events for the
Cargo.toml:
|
following up on @dconnolly's messages when I dug into this it seemed to be caused by our |
Ah that is indeed interesting, thanks a lot for investigating this! And sure thing, when panics abort, the client won’t flush its queue. I wanted to add a |
@WhyNotHugo: Was your configuration with |
Another thing I noticed is that the actix-web example doesn't work unless |
I have no explicit setting. I'm using |
@WhyNotHugo: Okay, so, let me back up a bit; what I'm trying to figure out is if there are any patterns governing breakage going from 0.18 to 0.19 specifically. If you're not explicitly settings |
@ErichDonGubler |
I released |
So what should we use now (on versions 0.19 and above) instead of |
The panic integration is on by default, so |
I think I'm having a problem that looks very similar to the originally reported issue here. Redacted what I said, it was an issue with internal Sentry configuration in my org. Nothing that impacts other people. I'm fine! |
My code is fairly simply, and copying the panic example from the docs doesn't log anything (nothing shows up on Sentry, and it doesn't seem to pause to send the events).
No event on sentry.
Any hints? This is pretty close to a copy-paste from the docs on all sides.
The text was updated successfully, but these errors were encountered: