Skip to content

Commit

Permalink
fix: add debug log to find out why some txs stay on pending (#518)
Browse files Browse the repository at this point in the history
Co-authored-by: Den <den@Deniss-MacBook-Pro.local>
  • Loading branch information
denishacquin and Den authored Sep 20, 2024
1 parent 18e39c0 commit 10be8c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/stores/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export const useTransactionsStore = defineStore('transactionsStore', () => {
status: tx.status,
data: tx,
});
} else {
// Temporary logging to debug always-PENDING transactions
console.warn('Transaction not found', tx);
console.trace('updateTransaction', tx); // Temporary logging to debug always-PENDING transactions
}
}

Expand Down

0 comments on commit 10be8c9

Please sign in to comment.