Merge pull request #11280 from benbuzbee/log-err
Log error if there are no event handlers registered
This commit is contained in:
commit
444d25db07
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
client/plugins/drivermanager: log if there is an error in a driver event
|
||||||
|
```
|
|
@ -481,5 +481,6 @@ func (i *instanceManager) handleEvent(ev *drivers.TaskEvent) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
i.logger.Warn("no handler registered for event", "event", ev)
|
i.logger.Warn("no handler registered for event", "event", ev, "error", ev.Err)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue