fix error being swalloed 🐛

This commit is contained in:
Jannis R 2016-08-12 16:19:09 +02:00
parent 5df274c952
commit 54f230bd44

View file

@ -45,7 +45,7 @@ const request = (opt) => {
if (Array.isArray(c.remL)) d.remarks = c.remL.map(opt.onRemark)
if (Array.isArray(c.opL)) d.agencies = c.opL.map(opt.onAgency)
return d
}).catch((err) => err)
}).catch((err) => {throw err})
}
}