Skip to content

Commit 9445ba0

Browse files
committed
fix: metrics sever caught signal log in signer
Avoid displaying it even when a signal has not been caught yet.
1 parent b9e810f commit 9445ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-signer/src/metrics/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ impl MetricsServer {
7575
.await?;
7676
axum::serve(listener, app)
7777
.with_graceful_shutdown(async {
78-
warn!("MetricsServer: shutting down HTTP server after receiving signal");
7978
shutdown_rx.await.ok();
79+
warn!("MetricsServer: shutting down HTTP server after receiving signal");
8080
})
8181
.await?;
8282

0 commit comments

Comments
 (0)