diff options
author | iximeow <git@iximeow.net> | 2022-12-29 03:24:07 +0000 |
---|---|---|
committer | iximeow <git@iximeow.net> | 2022-12-29 03:24:07 +0000 |
commit | b2cad73c4d04f2ef84e3e7ac8f94fb9a4fbf37c6 (patch) | |
tree | 5bc158fd50304b5459c14f2fa5d8ce0445a99889 | |
parent | a7d2af2370ee186cdbf7f237a08754b9ed6991fd (diff) |
do not ignore errors storing content in ci driver
-rw-r--r-- | src/ci_driver.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ci_driver.rs b/src/ci_driver.rs index da44fda..8b69936 100644 --- a/src/ci_driver.rs +++ b/src/ci_driver.rs @@ -394,7 +394,9 @@ async fn handle_artifact(State(ctx): State<(Arc<DbCtx>, mpsc::Sender<RunnerClien } }; - spawn(async move { artifact.store_all(artifact_content).await }); + eprintln!("spawning task..."); + spawn(async move { artifact.store_all(artifact_content).await.unwrap() }); + eprintln!("done?"); (StatusCode::OK, "").into_response() } |