Open
Description
Expected behavior
All errors make it to bugsnag, especially panics, even when Synchronous mode is off.
Observed behavior
I may be wrong, but looking at the code: there is no guarantees that in case of a recovered panic with Synchronous mode off an error makes it to bugsnag as the goroutine is not protected from exiting the application (if the panic is so fatal that the application has to exit).
Adding a closer function which can be registered as a deferred function could make sure that before exiting the application all pending errors are actually sent to Bugsnag.
Version
1.3.1