Skip to content

Commit

Permalink
remove console log errors (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay authored Oct 30, 2023
2 parents a19d3ca + df28ddd commit f72d5d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web3/wallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ const getNetworkByToken = async (idCrypto) => {
const result = await rp.request(options)
results.push(result)
} catch (err) {
console.error('Error fetching data for batch:', err)

// Handle the error as needed, e.g., retry or skip
}
})
Expand Down Expand Up @@ -820,7 +820,7 @@ exports.getallCryptoMarket = async (startVariable) => {
const response = await rp(options)
result.push(response)
} catch (error) {
console.error('Error fetching prices:', error)

throw new Error('Error fetching prices')
}
}
Expand Down

0 comments on commit f72d5d8

Please sign in to comment.