Skip to content

Commit

Permalink
Put back unintentionally ignored error
Browse files Browse the repository at this point in the history
  • Loading branch information
gargnitingoogle committed May 22, 2024
1 parent 6dbdb8f commit 0567424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ func callListRecursive(mountPoint string) (err error) {
return err
})

if err != nil {
return fmt.Errorf("failed in recursive metadata-prefetch of directory: \"%s\"; error = %w", mountPoint, err)
}

logger.Debugf("... Completed recursive metadata-prefetch of directory: \"%s\". Number of items discovered: %v", mountPoint, numItems)

return nil
Expand Down

0 comments on commit 0567424

Please sign in to comment.