rearrange error return

This commit is contained in:
Joel Wetzell
2026-05-17 09:49:36 -05:00
parent b4d4ef3421
commit 2fdf6d1a61
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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()