gosdk icon indicating copy to clipboard operation
gosdk copied to clipboard

show the most reason for consensus failure

Open boddumanohar opened this issue 1 year ago • 0 comments

Changes

  • show reason for failure
✗ zbox upload --silent --wallet wallet2.json --allocation 50a427bf3fefd09d7ac9fada8593b1f6b5757d5d843d77febfd65a9d17e7a583 --localpath ./go.sum --remotepath /go.sum
 0 / 65721 [--------------------------------------------------------------------------------------------------------------------------------------]   0.00% 0s
Error in file operation: consensus_not_met: Upload failed. Required consensus atleast 2, got 0: error: bad request: {"code":"duplicate_file","error":"duplicate_file: File at path already exists"}
Upload failed. consensus_not_met: Upload failed. Required consensus atleast 2, got 0: error: bad request: {"code":"duplicate_file","error":"duplicate_file: File at path already exists"}

new error message on upload failure

Fixes

  • https://github.com/0chain/zboxcli/issues/327

Tests

Tasks to complete before merging PR:

  • [ ] Ensure system tests are passing. If not Run them manually to check for any regressions :clipboard:
  • [ ] Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • [ ] Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • blobber:
  • 0chain:
  • system_test:
  • zboxcli:
  • zwalletcli:
  • Other: ...

boddumanohar avatar Nov 20 '22 09:11 boddumanohar