redlib icon indicating copy to clipboard operation
redlib copied to clipboard

[Bug] Panic and fail ungracefully when internet down

Open Tokarak opened this issue 9 months ago • 0 comments

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

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)

Tokarak avatar Mar 18 '25 01:03 Tokarak