raven-go icon indicating copy to clipboard operation
raven-go copied to clipboard

CaptureErrorAndWait swallows error

Open femaref opened this issue 7 years ago • 2 comments

I've had a problem with events not reaching an on premise server. Reason was that the go process did not have the relevant CA installed. This error was completely dropped and without changing the library you can't get it. I don't see a reason why it's not possible to show the error, especially with AndWait.

I'll make changes to the code and submit a PR soon.

femaref avatar Nov 01 '18 10:11 femaref

@femaref any updates on this? I think my implementation is also not working as expected.

OGKevin avatar Nov 05 '18 22:11 OGKevin

I'm working on it, in the mean time you can print the result of the chan receive here: https://github.com/getsentry/raven-go/blob/3033899c76deb3fb6570d9c4074d00443aeab88f/client.go#L740

femaref avatar Nov 06 '18 12:11 femaref