Skip to content

Commit

Permalink
feat: improve output of manual check
Browse files Browse the repository at this point in the history
Fix `byteLength: NaN`. Add more fields to the stats object, to make
the final log more useful.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed May 31, 2024
1 parent d65d824 commit b885094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ const minerId = 'f010479'

// Run the check
const spark = new Spark()
const stats = {}
const stats = {cid, minerId, indexerResult: null, statusCode: null, byteLength: 0}
await spark.executeRetrievalCheck({ cid, minerId }, stats)

0 comments on commit b885094

Please sign in to comment.