mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
refactor: minor styling fixes; deadcode cleanup and correct log level
This commit is contained in:
@@ -99,6 +99,6 @@ func (handler *EventHandler) Update(parent task.Parent, oldRoute *route.Route, n
|
||||
|
||||
func (handler *EventHandler) Log() {
|
||||
if err := handler.errs.Error(); err != nil {
|
||||
handler.provider.Logger().Info().Msg(err.Error())
|
||||
handler.provider.Logger().Error().Msg(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user