catch error in promise
This commit is contained in:
parent
4b076ab3b9
commit
c6f17e8a89
1 changed files with 3 additions and 0 deletions
|
@ -92,5 +92,8 @@ function (config, moment, Router, L, GUI) {
|
||||||
router.setData(d)
|
router.setData(d)
|
||||||
router.start()
|
router.start()
|
||||||
})
|
})
|
||||||
|
.catch(function (e) {
|
||||||
|
console.log(e)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue