From b61565398cd255bdde18c900ebf21339632600f3 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Wed, 22 May 2024 17:15:04 +0530 Subject: [PATCH] Update index.html --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 2484299..1d8caad 100644 --- a/index.html +++ b/index.html @@ -2073,10 +2073,10 @@ console.error(error) if (error.hasOwnProperty('hasInsufficientBalance')) { notify('Insufficient balance', 'error') - } else if (error === 'TypeError: Failed to fetch') { + } else { notify(`
-

Couldn't fetch transaction ID!

+

Error sending transaction

Please check transaction history before retrying.

`, 'error', { @@ -2088,8 +2088,7 @@ } } }); - } else { - notify(`Error sending transaction \n ${error}`, 'error'); + console.error(error) } }).finally(_ => { buttonLoader('send_transaction', false)