diff options
author | Valery Piashchynski <[email protected]> | 2021-08-28 02:03:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-28 02:03:54 +0300 |
commit | fb356081dcaea81952e2019502c0216af7d10c7d (patch) | |
tree | 45285a8541d78216983fbc4ebf89251d0777ff50 /plugins/server | |
parent | efb3efa98c8555815330274f0618bfc080f4c65c (diff) |
Reduce error check operations
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/server')
-rw-r--r-- | plugins/server/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go index 16e3bd8c..5f5f2df9 100644 --- a/plugins/server/plugin.go +++ b/plugins/server/plugin.go @@ -216,7 +216,7 @@ func (server *Plugin) collectPoolEvents(event interface{}) { case events.EventMaxMemory: server.log.Warn("worker max memory reached", "pid", we.Payload.(worker.BaseProcess).Pid()) case events.EventNoFreeWorkers: - server.log.Warn("no free workers in pool", "error", we.Payload.(error).Error()) + server.log.Warn("no free workers in the pool", "error", we.Payload.(error).Error()) case events.EventPoolError: server.log.Error("pool error", "error", we.Payload.(error).Error()) case events.EventSupervisorError: |