Skip to content

Commit cc6f005

Browse files
authored
Retry on cid verification in findCIDInNetwork (#3831)
1 parent e99e788 commit cc6f005

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

creator-node/src/utils/legacyUtils.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ export async function findCIDInNetwork(
218218
logger.error(`Could not remove file at path=${path}`)
219219
}
220220

221-
bail(new Error('CID does not match what is expected to be'))
222-
return
221+
throw new Error('CID does not match what is expected to be')
223222
}
224223

225224
logger.info(

0 commit comments

Comments
 (0)