Skip to content

Language Server crashes instead of failing gracefully when offline / GitHub release check fails #120

Description

@BuiltByElly

Bug Description

The language server crashes immediately when starting up without an active internet connection. It fails while attempting to check for GitHub releases, rather than failing gracefully and falling back to the locally installed version.

Context & Workflow

Because of a poor/unstable internet connection, I code mostly offline. Tools like WakaTime rely on caching offline heartbeats (heartbeats.bdb) to sync later, so the language server crashing completely blocks this workflow.

Expected Behavior

If the network request to check for GitHub releases fails or times out, the language server should handle the error gracefully, log a warning, and initialize using the existing local installation.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions