summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <git@iximeow.net>2022-12-29 03:24:07 +0000
committeriximeow <git@iximeow.net>2022-12-29 03:24:07 +0000
commitb2cad73c4d04f2ef84e3e7ac8f94fb9a4fbf37c6 (patch)
tree5bc158fd50304b5459c14f2fa5d8ce0445a99889 /src
parenta7d2af2370ee186cdbf7f237a08754b9ed6991fd (diff)
do not ignore errors storing content in ci driver
Diffstat (limited to 'src')
-rw-r--r--src/ci_driver.rs4
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()
}