You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line in question is a trace logging line: e.logger.Trace("batchWorker[", id, "]: exiting per context Done")
Probably just need to change that to e.logger.Trace(fmt.Sprintf("batchWorker[%d]: exiting per context Done", id))
The text was updated successfully, but these errors were encountered:
@ctriv I believe this should no longer be an issue, given these changes (#1104) which were recently merged to address the exact same issue. Closing the issue - thank you for reporting.
Description
If Events.BatchMode() is used with a context that finishing (ie, the Done() channel produces a message), there is a panic in a trace log line
Go Version
go version go1.19.3 darwin/arm64
Current behavior
Entered batch mode using a cancelable context. When the context is canceled, a panic is issued.
Expected behavior
The library should finish cleanly when the context is done.
Steps To Reproduce
Additional Context
The line in question is a trace logging line:
e.logger.Trace("batchWorker[", id, "]: exiting per context Done")
Probably just need to change that to
e.logger.Trace(fmt.Sprintf("batchWorker[%d]: exiting per context Done", id))
The text was updated successfully, but these errors were encountered: