Skip to content

Commit

Permalink
feat: improve output of manual check (#72)
Browse files Browse the repository at this point in the history
* feat: improve output of manual check

Fix `byteLength: NaN`. Add more fields to the stats object, to make
the final log more useful.

Signed-off-by: Miroslav Bajtoš <[email protected]>

* fixup! standard --fix

Signed-off-by: Miroslav Bajtoš <[email protected]>

---------

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored Jun 3, 2024
1 parent d65d824 commit c7fde0a
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 c7fde0a

Please sign in to comment.