Skip to content

Commit

Permalink
undo panic
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Sep 13, 2023
1 parent bc8ca69 commit 0dba37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/chainhook-sdk/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}),
};
}
Expand Down

0 comments on commit 0dba37d

Please sign in to comment.