Skip to content

Commit

Permalink
console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Dec 11, 2024
1 parent bd1867a commit 5cf2449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fetchTotalTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const fetchTotalTransactions = async (): Promise<number | null> => {
})
.then((data) => data.result.rows[0].num_txs)
.catch((err) => {
console.log(`Error fetching total number of transactions: ${err.message}`)
console.error(`Error fetching total number of transactions: ${err.message}`)
return null
})
}

0 comments on commit 5cf2449

Please sign in to comment.