Skip to content

Commit

Permalink
gateway: expect on refreshing projects (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianbarbu authored Mar 27, 2023
1 parent 99accab commit b6edc58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gateway/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b6edc58

Please sign in to comment.