fix router not bailing on bad module types

This commit is contained in:
Joel Wetzell
2025-11-22 17:35:15 -06:00
parent fdefad44ab
commit d47d5c5644

View File

@@ -53,7 +53,7 @@ func NewRouter(ctx context.Context, config Config) (*Router, []ModuleError, []Ro
Config: moduleDecl,
Error: fmt.Errorf("module type not defined"),
})
continue
}
moduleInstanceExists := false