Skip to content

Commit 0de6a41

Browse files
committed
revert update to error handling server.rs, as #21 handles it
1 parent 7700bac commit 0de6a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ pub async fn run(listener: TcpListener, shutdown: impl Future) -> crate::Result<
5757
tokio::select! {
5858
res = server.run() => {
5959
if let Err(err) = res {
60+
// TODO: gracefully handle this error
6061
error!(cause = %err, "failed to accept");
61-
return Err(err.into());
6262
}
6363
}
6464
_ = shutdown => {

0 commit comments

Comments
 (0)