mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
fix HAFAS error messages 🐛
This commit is contained in:
parent
031769b769
commit
a769291d95
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ const request = (profile, data) => {
|
|||
throw err
|
||||
}
|
||||
if (b.svcResL[0].err !== 'OK') {
|
||||
err.message = b.svcResL[0].errTxt
|
||||
err.message = b.svcResL[0].errTxt || b.svcResL[0].err
|
||||
throw err
|
||||
}
|
||||
const d = b.svcResL[0].res
|
||||
|
|
Loading…
Add table
Reference in a new issue