Skip to content

Error logging/handling: make sync errors visible #42

@jcaesar

Description

@jcaesar

If the matrix client fails its sync (for example with an M_UNKNOWN_TOKEN because of a configuration error) there will be no output at all, just a stale promise.
The critical place should be in startClient.

This should be really simple (give some log output + fail the promise), but since I know near-nothing about nodejs, I don't dare make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions