Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better handling for other Discogs errors #6

Open
jch254 opened this issue Jul 23, 2023 · 0 comments
Open

Add better handling for other Discogs errors #6

jch254 opened this issue Jul 23, 2023 · 0 comments

Comments

@jch254
Copy link
Owner

jch254 commented Jul 23, 2023

E.g. 502 response:

{
    "errorMessage": "Status code 502",
    "errorType": "Error",
    "stackTrace": [
        "Error: Status code 502",
        "    at ClientRequest.<anonymous> (/Users/jch254/Dev/jch254/proj/discogs-market-monitor/node_modules/rss-parser/lib/parser.js:88:25)",
        "    at Object.onceWrapper (node:events:640:26)",
        "    at ClientRequest.emit (node:events:520:28)",
        "    at ClientRequest.emit (node:domain:475:12)",
        "    at HTTPParser.parserOnIncomingClient (node:_http_client:618:27)",
        "    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)",
        "    at TLSSocket.socketOnData (node:_http_client:482:22)",
        "    at TLSSocket.emit (node:events:520:28)",
        "    at TLSSocket.emit (node:domain:475:12)",
        "    at addChunk (node:internal/streams/readable:315:12)",
        "    at readableAddChunk (node:internal/streams/readable:289:9)",
        "    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)",
        "    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)"
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant