Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford committed Sep 6, 2024
1 parent 9d4b8e3 commit dff7f07
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/datamanager/builtin/sync/upload_arbitrary_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ func uploadArbitraryFile(
}

if pos != 0 {
msg := "error trying to Seek to beginning of file %s attempted to seek to " +
"beginning of file but only got to position: %d, expected to be at position 0"
return fmt.Errorf(msg, path, pos)
return fmt.Errorf("error trying to seek to beginning of file %s: expected position 0, instead got to position %d.", path, pos)
}

logger.Debugf("datasync.FileUpload request started for arbitrary file: %s", path)
Expand Down

0 comments on commit dff7f07

Please sign in to comment.