mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-20 21:48:58 +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")
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to initialize router: %w", err)
|
||||
}
|
||||
showbridgeApp.routerMutex.Lock()
|
||||
showbridgeApp.router = router
|
||||
|
||||
|
||||
Reference in New Issue
Block a user