We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec1cf2b + 098c056 commit 886617eCopy full SHA for 886617e
1 file changed
discovery/src/server.rs
@@ -269,10 +269,10 @@ impl DiscoveryServer {
269
tokio::spawn(async {
270
let result = server
271
.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");
+ if let Err(e) = close_rx.await {
+ debug!("unable to close discovery Rx channel completely: {e}");
275
}
+ debug!("Shutting down discovery server");
276
})
277
.await;
278
0 commit comments