-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example output before my change: ``` Retrieval failed with status code 502: no candidates found { timeout: false, startAt: 2024-05-31T07:30:43.389Z, // etc. protocol: "graphsync", providerAddress: "/ip4/118.212.68.22/tcp/24501/p2p/12D3KooWJJEL214g7yMFMFaE6aPRaQTLVVCNFjWeiBLUCTzP98tp" } Submitting measurement... { sparkVersion: "1.11.4", zinniaVersion: "0.19.1", cid: "bafykbzacechhbxnsn5dw6lx7phcfvkjc6kqsuuwl4bnynexewb5y3vtcw2fvw", minerId: "f02894875", timeout: false, startAt: 2024-05-31T07:30:43.389Z, // etc. providerAddress: "/ip4/118.212.68.22/tcp/24501/p2p/12D3KooWJJEL214g7yMFMFaE6aPRaQTLVVCNFjWeiBLUCTzP98tp", participantAddress: "0x000000000000000000000000000000000000dEaD", stationId: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" } ``` This commit removes the first log which was printed when `fetch()` was able to get some HTTP response frome the server. It is also removing the trailing newline from HTTP error response bodies before we print them to the console. Finally, it adds an empty line between tasks, to visually delimit logs belonging to different tasks.
- Loading branch information
Showing
4 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters