Closed andreiolariu closed 6 years ago
Yes, I am using PanicHandler, but no panics are being sent to the sentry server. I debugged around and found the script ending before it got the chance to make the request. I added that line to wait for it. I guess I should have tried using CapturePanicAndWait instead.
I believe this PR can be closed.
cc @mattrobenolt
You can use
CapturePanicAndWait
if you want to wait for panic to be sent. If you're using Capture directly, then you can wait on the err channel to be closed.Or, you're relying on PanicHandler which is broken see #194.