mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
make nil payload a debug log
This commit is contained in:
@@ -202,7 +202,7 @@ func (r *Router) HandleInput(ctx context.Context, sourceId string, payload any)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if payload == nil {
|
if payload == nil {
|
||||||
r.logger.Error("no input after processing", "route", routeIndex, "source", sourceId)
|
r.logger.Debug("no payload after processing, route terminated", "route", routeIndex, "source", sourceId)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user