Skip to content

Commit 0a837d8

Browse files
committed
fix(validate): show files loaded before validation
Previously, multiple files present in include dir could be loaded and, in some cases error, leaving users unaware of additional files containing errors Signed-off-by: Pau Capdevila <[email protected]>
1 parent e8d1d6a commit 0a837d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/hhfab/hydrate.go

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ func (c *Config) loadWiring(ctx context.Context) (*apiutil.Loader, error) {
117117
if err := l.LoadAdd(ctx, data); err != nil {
118118
return nil, fmt.Errorf("loading wiring %q: %w", relName, err)
119119
}
120+
121+
slog.Info("Successfully loaded wiring file", "file", relName)
120122
}
121123

122124
return l, nil

0 commit comments

Comments
 (0)