Skip to content

TypeError Cannot read properties of null (reading 'callback') when receiving subscribe response with no inflight subscribe #605

@alecgibson

Description

@alecgibson

We're getting this error:

app rollbar com_a_Reedsy_fix_item_Reedsy-Editor_10814_occurrence_322889472575

The error is happening because a subscribe response is being received over the WebSocket, but there's no inflightSubscribe set.

I've rummaged around in the code (which I wrote 😅 🙈 ) and I'm not really sure how we get into this state.

As far as I can tell:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions