From 0dba37d7a19f4dc956e95afe349de1b1c7640943 Mon Sep 17 00:00:00 2001 From: MicaiahReid Date: Wed, 13 Sep 2023 17:02:59 -0400 Subject: [PATCH] undo panic --- components/chainhook-sdk/src/observer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chainhook-sdk/src/observer/mod.rs b/components/chainhook-sdk/src/observer/mod.rs index 2c2dbcbd7..5d080a130 100644 --- a/components/chainhook-sdk/src/observer/mod.rs +++ b/components/chainhook-sdk/src/observer/mod.rs @@ -1430,7 +1430,7 @@ pub async fn start_observer_commands_handler( } }, Err(e) => ctx.try_log(|logger| { - panic!("unable to acquire observer_metrics_rw_lock:{}", e) + slog::warn!(logger, "unable to acquire observer_metrics_rw_lock:{}", e) }), }; }