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
Commit 585506c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(api): show the Socket API's error message on failed requests (#1627)
sendApiRequest and queryApiSafeTextWithStatus now include the
`error.message` the Socket API returns in its error body, next to the
generic per-status guidance they already gave. The API uses it to explain
failures the status code alone can't, such as a version spec it can't
serve.
getDefaultApiBaseUrl always falls back to the default API URL, so its
return type is now `string` and the unreachable "not configured" branches
are gone.
0 commit comments