From e5e60c50763a66b3e1d326efdec9c2bf04ff8be7 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sat, 21 Jan 2023 02:11:23 +0530 Subject: [PATCH] added error handling --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a72c0ce..ad4acae 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,10 @@ appendix: {} }).then(result => refresh()) .catch(error => console.error(error)) - }).catch(error => reject(error)) + }).catch(error => { + console.error(error) + notify("Unable to connect to FLO blockchain", "error") + }) }