RelationalAI/rai-sdk-javascript

Log more information about network errors

Closed this issue · 3 comments

Right now all we see in the logs is:

Error: Request failed due to a connectivity issue. Please check your network connection.
   webpack://_N_E/../node_modules/@relationalai/rai-sdk-javascript/dist/web/rai-sdk-javascript.modern.js at line 1
   webpack://_N_E/../node_modules/@relationalai/rai-sdk-javascript/dist/web/rai-sdk-javascript.modern.js at line 1
   webpack://_N_E/../node_modules/@relationalai/rai-sdk-javascript/dist/web/rai-sdk-javascript.modern.js at line 1
   webpack://_N_E/../node_modules/@relationalai/rai-sdk-javascript/dist/web/rai-sdk-javascript.modern.js at line 1

If we also reported the http response code & message that would be super helpful.

I don't think that it's possible. You see this because there was no response. There's probably no way to access that Status column from the network tab either.

Closing as there is nothing we can do :(

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-5369.

This link is only accessible to employees of RelationalAI.