catch error in promise
This commit is contained in:
parent
4b076ab3b9
commit
c6f17e8a89
|
@ -92,5 +92,8 @@ function (config, moment, Router, L, GUI) {
|
|||
router.setData(d)
|
||||
router.start()
|
||||
})
|
||||
.catch(function (e) {
|
||||
console.log(e)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue