Skip to content

Investigate/handle sync errors #3

@Kwarf

Description

@Kwarf

We're currently not handling any sync errors at all, instead exiting the process the first time we encounter any error.

I've noticed timeouts occurring when testing locally, so we should ideally figure out what errors to retry syncing on and what errors are unrecoverable.

Example timeout:

Http(Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("matrix-client.matrix.org")), port: None, path: "/_matrix/client/v3/sync", query: Some("since=...&timeout=30000"), fragment: None }, source: TimedOut }))

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions