mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
cleanup logging
This commit is contained in:
@@ -51,8 +51,6 @@ func init() {
|
|||||||
|
|
||||||
router, ok := ctx.Value(route.RouterContextKey).(route.RouteIO)
|
router, ok := ctx.Value(route.RouterContextKey).(route.RouteIO)
|
||||||
|
|
||||||
fmt.Printf("%+T", ctx.Value(route.RouterContextKey))
|
|
||||||
|
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, errors.New("http.server unable to get router from context")
|
return nil, errors.New("http.server unable to get router from context")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -181,6 +181,5 @@ func (r *Router) HandleOutput(ctx context.Context, destinationId string, payload
|
|||||||
// r.logger.Error("unable to route output", "module", moduleInstance.Id(), "error", err)
|
// r.logger.Error("unable to route output", "module", moduleInstance.Id(), "error", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fmt.Println(len(outputErrors))
|
|
||||||
return outputErrors
|
return outputErrors
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user