Skip to content

Commit

Permalink
Retry on cid verification in findCIDInNetwork (#3831)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-g authored Sep 7, 2022
1 parent e99e788 commit cc6f005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions creator-node/src/utils/legacyUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ export async function findCIDInNetwork(
logger.error(`Could not remove file at path=${path}`)
}

bail(new Error('CID does not match what is expected to be'))
return
throw new Error('CID does not match what is expected to be')
}

logger.info(
Expand Down

0 comments on commit cc6f005

Please sign in to comment.