From 04d3f519d542e18b83b95dfccdbefe71543dcb06 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Fri, 10 Nov 2023 14:11:03 +0000 Subject: [PATCH] Maybe surface scanning errors --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index eb18770..12e274b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -206,13 +206,13 @@ async fn metrics(config: Config) -> Result, WsError> { if config.groups.is_some() { for (name, group) in config.groups.unwrap() { println!("scanning group {}", &name); - let _ = group_metrics(&client, &auth_cookie, name, group).await; + group_metrics(&client, &auth_cookie, name, group).await?; } } if config.worlds.is_some() { for (name, id) in config.worlds.unwrap() { println!("scanning world {}", &name); - let _ = world_metrics(&client, &auth_cookie, name, id).await; + world_metrics(&client, &auth_cookie, name, id).await?; } }