Skip to content

[Bug] Panic and fail ungracefully when internet down #395

@Tokarak

Description

@Tokarak

Should be an easy fix, probably just an unwrap() that shouldn't be there. On commit 357e7c2.

thread 'tokio-runtime-worker' panicked at src/main.rs:426:44:
Failed to request GitHub: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: nodename nor servname provided, or not known" }))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fish: Job 1, 'cargo run --release' terminated by signal SIGABRT (Abort)

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