Skip to content

Commit

Permalink
fixed debug out
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Turetsky committed Nov 22, 2024
1 parent 0562c47 commit b0cb2cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion local_cache/local_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,9 @@ func (lc *LocalCache) Stat(path, token string) (uint64, error) {
dUrl.Path = path
dUrl.Scheme = "pelican"
statInfo, err := client.DoStat(context.Background(), dUrl.String(), client.WithToken(token))
fmt.Printf("\n\n LOGGING %s \n\n", err.Error())
if err != nil {
fmt.Printf("\n\n LOGGING %s \n\n", err.Error())
}
return uint64(statInfo.Size), err
}

Expand Down

0 comments on commit b0cb2cf

Please sign in to comment.