mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
lib/request: use transformed req body 🐛
This commit is contained in:
parent
252ce5b515
commit
7b7293efea
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ const request = (ctx, userAgent, reqData) => {
|
||||||
// Async stack traces are not supported everywhere yet, so we create our own.
|
// Async stack traces are not supported everywhere yet, so we create our own.
|
||||||
const err = new Error()
|
const err = new Error()
|
||||||
err.isHafasError = true // todo: rename to `isHafasClientError`
|
err.isHafasError = true // todo: rename to `isHafasClientError`
|
||||||
err.request = body
|
err.request = req.body // todo: commit as bugfix
|
||||||
err.url = url
|
err.url = url
|
||||||
captureStackTrace(err)
|
captureStackTrace(err)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue