Skip to content

Commit 886617e

Browse files
authored
Merge pull request #1229 from dsheets/fix-discovery-server-startup-log
discovery::server: fix startup log
2 parents ec1cf2b + 098c056 commit 886617e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

discovery/src/server.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ impl DiscoveryServer {
269269
tokio::spawn(async {
270270
let result = server
271271
.with_graceful_shutdown(async {
272-
debug!("Shutting down discovery server");
273-
if close_rx.await.is_ok() {
274-
debug!("unable to close discovery Rx channel completely");
272+
if let Err(e) = close_rx.await {
273+
debug!("unable to close discovery Rx channel completely: {e}");
275274
}
275+
debug!("Shutting down discovery server");
276276
})
277277
.await;
278278

0 commit comments

Comments
 (0)