summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index e757cc4..07391de 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -230,7 +230,5 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
}),
);
- server.await?;
-
- Ok(())
+ server.await.map_err(From::from)
}