Skip to content

Commit

Permalink
chore: add TODO for handling payload loss in Mirror Node errors (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Walczak <[email protected]>
  • Loading branch information
mwb-al committed Jan 28, 2025
1 parent a155a8b commit ae80e71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export function mirrorWorker(id: number) {
} catch (error) {
console.error(`Mirror Worker ${id} failed to get the status of transaction ${payload.transactionId}: ${error}`);
await sendAndLogToFile(payload, '', `Error getting status from node, transaction failed or not executed (mirror node): ${error}`);
// TODO: Implement error handling to prevent payload loss when Mirror Node is unavailable.
}
}
}
Expand Down

0 comments on commit ae80e71

Please sign in to comment.