Skip to content

Commit

Permalink
test panic on acquire lock
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Sep 13, 2023
1 parent cb37e3a commit bc8ca69
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| {
slog::warn!(logger, "unable to acquire observer_metrics_rw_lock:{}", e)
panic!("unable to acquire observer_metrics_rw_lock:{}", e)
}),
};
}
Expand Down

0 comments on commit bc8ca69

Please sign in to comment.