diff --git a/azalea-worker/src/main.rs b/azalea-worker/src/main.rs index 3ebce32..97bf092 100644 --- a/azalea-worker/src/main.rs +++ b/azalea-worker/src/main.rs @@ -165,6 +165,8 @@ async fn main() -> Result<(), Box> { e = rx.recv() => { if let Some(e) = e { handle_packet(e, &config, &mut client, &mut ws_stream).await? + } else { + std::process::exit(1); } } }