Skip to content

Commit 716e677

Browse files
authored
feat(internal/librarian): log generation statistics on completion (#1892)
Fixes #1891.
1 parent 2999753 commit 716e677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/librarian/generate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ func (r *generateRunner) run(ctx context.Context) error {
146146
failedGenerations++
147147
}
148148
}
149+
slog.Info("generation statistics", "all", len(r.state.Libraries), "failures", failedGenerations)
149150
if failedGenerations > 0 && failedGenerations == len(r.state.Libraries) {
150151
return fmt.Errorf("all %d libraries failed to generate", failedGenerations)
151152
}

0 commit comments

Comments
 (0)