You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RESTController.handleError discards error.cause, making network failures hard to diagnose #3150
RESTController.handleError discards error.cause which makes it hard to debug what the actual cause of the network error is. This caused some issues for us when we were debugging elevated levels of network failure.
Node's fetch throws TypeError: fetch failed and stores the real reason on .cause, in our case SocketError: other side closed with code: 'UND_ERR_SOCKET'. handleError sees errorJSON.message === 'fetch failed' and takes the first branch:
ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
Activity
parse-github-assistant commentedon Oct 15, 2026
🚀 Thanks for opening this issue!
ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.