added error handling

This commit is contained in:
sairaj mote 2023-01-21 02:11:23 +05:30
parent 61f9a03acc
commit e5e60c5076

View File

@ -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")
})
}
</script>
</head>