diff options
author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2022-11-28 19:29:30 +0530 |
---|---|---|
committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2022-11-28 19:29:30 +0530 |
commit | 3d1419ad681c88da758e533afd26f319b32e21cd (patch) | |
tree | 7247e5459aee61d90b24a32e460f3882db8acd1f /src/main.rs | |
parent | 2a2030056332a919fbdb85d648d82c0d2937e8fc (diff) |
Use expect here too.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
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"); } |