Skip to content

Commit

Permalink
err msg enhancement
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Nov 8, 2024
1 parent 03e8221 commit dbbd8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytecopilot/data/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (d Downloader) handleBlob(ctx context.Context, blob *core.Blob, toPath stri
defer wg.Done()
defer func() {
if err := recover(); err != nil {
logger.Errorf(ctx, "recover receives error: %s", err)
logger.Errorf(ctx, "recover receives error: [%s]", err)
}

Check warning on line 100 in flytecopilot/data/download.go

View check run for this annotation

Codecov / codecov/patch

flytecopilot/data/download.go#L99-L100

Added lines #L99 - L100 were not covered by tests
}()

Expand Down

0 comments on commit dbbd8c3

Please sign in to comment.