mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-11 07:59:25 +00:00
fix rogue error check
This commit is contained in:
@@ -204,9 +204,6 @@ func run(ctx context.Context, c *cli.Command) error {
|
|||||||
return fmt.Errorf("errors initializing modules or routes")
|
return fmt.Errorf("errors initializing modules or routes")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("failed to initialize router: %w", err)
|
|
||||||
}
|
|
||||||
showbridgeApp.routerMutex.Lock()
|
showbridgeApp.routerMutex.Lock()
|
||||||
showbridgeApp.router = router
|
showbridgeApp.router = router
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user