Skip to content

Commit

Permalink
Merge pull request #1488 from 0chain/hotfix/pause-msg
Browse files Browse the repository at this point in the history
fix err msg for pause upload
  • Loading branch information
dabasov authored May 13, 2024
2 parents b83a19e + 08aa382 commit aa36617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/upload_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type UploadOperation struct {
isDownload bool
}

var ErrPauseUpload = errors.New("retry_operation")
var ErrPauseUpload = errors.New("upload paused by user")

func (uo *UploadOperation) Process(allocObj *Allocation, connectionID string) ([]fileref.RefEntity, zboxutil.Uint128, error) {
if uo.isDownload {
Expand Down

0 comments on commit aa36617

Please sign in to comment.