diff --git a/gateway/src/main.rs b/gateway/src/main.rs index 19f6091cf..db7253496 100644 --- a/gateway/src/main.rs +++ b/gateway/src/main.rs @@ -76,8 +76,7 @@ async fn start(db: SqlitePool, fs: PathBuf, args: StartArgs) -> io::Result<()> { .and_then(task::refresh()) .send(&sender) .await - .ok() - .unwrap(); + .expect("failed sending the task"); } let worker_handle = tokio::spawn(