Crash when adding a radio station without the network being available
Disconnect your computer from the internet, press the "+" button on the top left and stat entering a station name. The result is the following crash:
gunter@marius:~/src/Shortwave/build$ shortwave
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RequestError', src/libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
gunter@marius:~/src/Shortwave/build$ RUST_BACKTRACE=1 shortwave
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RequestError', src/libcore/result.rs:1009:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: shortwave::search::Search::search_for
10: shortwave::app::App::process_action
11: glib::main_context_channel::dispatch
12: g_main_context_dispatch
13: <unknown>
14: g_main_context_iteration
15: g_application_run
16: <O as gio::application::ApplicationExtManual>::run
17: shortwave::main
18: std::rt::lang_start::{{closure}}
19: std::panicking::try::do_call
20: __rust_maybe_catch_panic
21: std::rt::lang_start_internal
22: main
23: __libc_start_main
24: _start
gunter@marius:~/