A nodejs application, which uses a library I've written throws an error like this:
{
"error": {
"code": 500,
"message": "SyntaxError: Unexpected token \r",
"debug": "536585744307add1ab4e847288a0a3fb4a5cb4a73c1836a14ab98a026fc1f9315125443b33a07f1e60f7a3fea20f064bda848b6aba8bfb7a0b8c8aa8cd5e5b355815f93c1ed0366696909ab2aebdb98343ca4d2f11e9e2b9f0bcfef7e8b8b5a7d7335308"
}
}
In this example I've replaced the content of debug
with random hexadecimal numbers, in the real scenario, there are over 3000 characters.
Unfortunately I can't get my hands on the whole application, so I wanted to know if that is in some configuration a default behaviour by nodejs and how I might be able to read the content of debug.
Update:
It might not have been obvious, but it's an HTTP 500 error. The application uses ExpressJS and the tests were executed with Postman.