Skip to content

Commit 373db4f

Browse files
committed
add warning when all attempts to download OTS have failed
1 parent ede9db9 commit 373db4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/content-service/pkg/initializer/initializer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ func downloadOTS(ctx context.Context, url string) (user, pwd string, err error)
315315
log.WithError(err).WithField("attempt", i).Warn("cannot download OTS")
316316
}
317317
if err != nil {
318+
log.WithError(err).Warn("failed to download OTS")
318319
return "", "", err
319320
}
320321

0 commit comments

Comments
 (0)