catch error in promise

This commit is contained in:
Nils Schneider 2015-03-31 18:51:35 +02:00
parent 4b076ab3b9
commit c6f17e8a89

View File

@ -92,5 +92,8 @@ function (config, moment, Router, L, GUI) {
router.setData(d)
router.start()
})
.catch(function (e) {
console.log(e)
})
}
})