Skip to content

Events stop firing on database error #8

@cristianocca

Description

@cristianocca

If you send a string over 8000 bytes as the payload which makes postgres reject it, an impossible to catch error is thrown somewhere.
If you manage to catch the error such as a global exception handler from node, your app won't crash completely, but the publish subscribe code stops working, events are sent but never received on the callback assigned to addChannel.
I'm wondering if this can happen for other kind of database errors as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions