added error handling
This commit is contained in:
parent
61f9a03acc
commit
e5e60c5076
@ -36,7 +36,10 @@
|
|||||||
appendix: {}
|
appendix: {}
|
||||||
}).then(result => refresh())
|
}).then(result => refresh())
|
||||||
.catch(error => console.error(error))
|
.catch(error => console.error(error))
|
||||||
}).catch(error => reject(error))
|
}).catch(error => {
|
||||||
|
console.error(error)
|
||||||
|
notify("Unable to connect to FLO blockchain", "error")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user