Better error message

This commit is contained in:
sairaj mote 2023-04-25 03:31:30 +05:30
parent 8797bca3c6
commit c214841389

View File

@ -1177,7 +1177,7 @@
}).catch(error => {
console.error(error)
getRef('filter_selector').classList.add('hidden')
getRef('transactions_list').textContent = `Looks like we couldn't fetch transactions at this time. Please try again later.`;
getRef('transactions_list').textContent = `The data service is temporarily unavailable due to over-usage. Please try again in an hour.`;
}).finally(_ => getRef('check_address_button').disabled = false)
} catch (err) {
notify(err, 'error');