diff options
| -rw-r--r-- | installer-downloader/src/controller.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/installer-downloader/src/controller.rs b/installer-downloader/src/controller.rs index 7b6abce60c..25d1d182f8 100644 --- a/installer-downloader/src/controller.rs +++ b/installer-downloader/src/controller.rs @@ -194,9 +194,7 @@ async fn fetch_app_version_info<Delegate, VersionProvider>( }); // wait for user to press either button - let Some(action) = action_rx.recv().await else { - panic!("channel was dropped? argh") - }; + let action = action_rx.recv().await.expect("sender unexpectedly dropped"); match action { Action::Retry => { |
