Skip to content

Commit

Permalink
revert logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarakby committed Dec 9, 2024
1 parent 2aea834 commit 4b81321
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ export default class FlowApp {
errorMessage: "Result not initialized",
}

console.log("total chunks: ", chunks.length)
for (let i = 0; i < chunks.length; i += 1) {
console.log("sending chunk of index: ", i)
const payloadType = chunks[i].type
const p2 = chunks[i].p2
const chunk = chunks[i].buffer
Expand All @@ -189,7 +187,6 @@ export default class FlowApp {
const errorCodeData = response.slice(-2);
const returnCode = errorCodeData[0] * 256 + errorCodeData[1];
const errorMessage = errorCodeToString(returnCode);
console.log("chunk ", i, " received code: ", returnCode, "error message: ", errorMessage)

// these error codes contain detailed error description in the response
if (returnCode === 0x6a80 || returnCode === 0x6984) {
Expand Down

0 comments on commit 4b81321

Please sign in to comment.