mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +02:00
fix error being swalloed 🐛
This commit is contained in:
parent
5df274c952
commit
54f230bd44
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue