From c6f7513deb483e84e51dbd43f53c4a6de1a25d8b Mon Sep 17 00:00:00 2001
From: theMackabu <theMackabu@gmail.com>
Date: Fri, 1 Dec 2023 22:11:52 -0800
Subject: [PATCH] missing field error

---
 crates/maid/server/src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/maid/server/src/main.rs b/crates/maid/server/src/main.rs
index fcec46b..ead7b75 100644
--- a/crates/maid/server/src/main.rs
+++ b/crates/maid/server/src/main.rs
@@ -137,7 +137,7 @@ fn stream(ws: WebSocket, docker_state: &State<DockerState>, _token: Token) -> Ch
 
             match docker::run::exec(stream, &docker_state.docker).await {
                 Ok(_) => log::info!("build finished"),
-                Err() => log::error!("failed to build"),
+                Err(_) => log::error!("failed to build"),
             };
 
             Ok(())
-- 
GitLab