Had to do this time.Sleep to ensure that sessions get tracked (sending errors seems OK, sessions consistently missing).
What did you expect would happen?
I'd see sessions get tracked in the dashboard even for immediate-return CLI apps.
What actually happened?
Silently dropped the sessions.
Additional info
Output from go version: go version go1.15 darwin/amd64
Version of github.com/kinbiko/bugsnag-go: [e.g. v.0.11.0]
It's probably related to how we're flushing -- in particular how Close returns as soon as we've requested the shutdown (channel has been read), and not when the shutdown has completed.
What exactly did you do?
Had to do this time.Sleep to ensure that sessions get tracked (sending errors seems OK, sessions consistently missing).
What did you expect would happen?
I'd see sessions get tracked in the dashboard even for immediate-return CLI apps.
What actually happened?
Silently dropped the sessions.
Additional info
go version
:go version go1.15 darwin/amd64
github.com/kinbiko/bugsnag-go
: [e.g.v.0.11.0
]It's probably related to how we're flushing -- in particular how
Close
returns as soon as we've requested the shutdown (channel has been read), and not when the shutdown has completed.