summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6034e12..66835b6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -39,5 +39,5 @@ async fn main() {
sighup_handler().await;
}
});
- let (_, _, _) = tokio::join!(advert_handle, skew_handle, sighup_handle);
+ tokio::try_join!(advert_handle, skew_handle, sighup_handle).expect("task(s) erred");
}