mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-22 06:18:58 +00:00
rearrange error return
This commit is contained in:
@@ -263,7 +263,7 @@ func (app *showbridgeApp) handleChannels() {
|
||||
app.routerMutex.Unlock()
|
||||
continue
|
||||
}
|
||||
err, moduleErrors, routeErrors := app.router.UpdateConfig(config, false)
|
||||
moduleErrors, routeErrors, err := app.router.UpdateConfig(config, false)
|
||||
if err != nil {
|
||||
app.logger.Error("failed to update router config", "error", err)
|
||||
app.routerMutex.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user