Remove pointless debug log
This commit is contained in:
parent
5a62f83ec8
commit
fa6f56caa8
|
@ -58,9 +58,6 @@ func (h *Handler) ListenForServerEvents(ctx context.Context) {
|
||||||
go func(ctx context.Context) {
|
go func(ctx context.Context) {
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
if h.jwt != nil {
|
|
||||||
h.server.Log().WithField("jwt_subject", h.jwt.Subject).Debug("unsubscribing server from event listeners")
|
|
||||||
}
|
|
||||||
h.server.Events().Unsubscribe(e, eventChannel)
|
h.server.Events().Unsubscribe(e, eventChannel)
|
||||||
|
|
||||||
close(eventChannel)
|
close(eventChannel)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user