Skip to content

Describe how to handle errors for realtime channel subscriptionsΒ #250

Open
@enyo

Description

@enyo

Improve documentation

Link

https://supabase.com/docs/reference/javascript/next/subscribe

Describe the problem

There is no description anywhere on how to handle errors when subscribing. In my app, sometimes subscriptions don't work, and I have no idea on how to handle that. There is a channel.onError method, but it doesn't provide any error. So what should I do in the case subscriptions don't work?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions