tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
226 stars 32 forks source link

added error messaging in case of Hrana WebSocket failure #24

Closed sabercoy closed 1 year ago

sabercoy commented 1 year ago

In the case of Vercel Edge Functions, trying to connect with "libsql" or any other web socket protocol gave something like: image

This aims to give messaging similar to: image

honzasp commented 1 year ago

This issue should now be fixed by #25 in version 0.1.3. Does the fix work for you?

honzasp commented 1 year ago

Thank you @Numnumberry for your PR, even when it was not merged as-is in the end! :)