Skip to content

[Bug]: Realtime doesn't properly classify some valid errors #1085

@sproctor

Description

@sproctor

General Info

  • I checked for similar bug report
  • I am using the latest version
  • I checked the troubleshooting page for similar problems

Version(s)

3.2.5

Kotlin Target(s) and their respective versions

JVM 21

What happened? (include your code)

I'm getting this error when running supabase locally.

(Supabase-Realtime) Received message without event: RealtimeMessage(topic=realtime:db-changes, event=system, payload={"message":"{:error, %FunctionClauseError{module: Enum, function: :\"-map/2-lists^map/1-1-\", arity: 2, kind: nil, args: nil, clauses: nil}}","status":"error","extension":"postgres_changes","channel":"db-changes"}, ref=null)

I think this should be an error event and so RErrorEvent should check the payload for the error status.

Steps To Reproduce (optional)

No response

Relevant log output (optional)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions