From d3f361cc7d7f03fb661ea14b2a9ca1d7ff0bc85a Mon Sep 17 00:00:00 2001 From: "Willow (GHOST)" Date: Sat, 25 Jul 2026 15:32:51 +0100 Subject: [PATCH] fix(uplc): don't swallow errors --- uplc/src/main.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/uplc/src/main.rs b/uplc/src/main.rs index 42ee480..9ae2031 100644 --- a/uplc/src/main.rs +++ b/uplc/src/main.rs @@ -21,16 +21,8 @@ async fn main() -> Result<()> { }); tokio::select! { - result = api_handle => { - if let Err(e) = result { - eprintln!("HTTP server error: {}", e); - } - } - result = plc_sync_handle => { - if let Err(e) = result { - eprintln!("Sync loop panicked: {}", e); - } - } + result = api_handle => result??, + result = plc_sync_handle => result??, } Ok(()) -- 2.51.2