Skip to content

Commit

Permalink
Merge pull request #15125 from andijcr/backport/v23.2.x/state_machine…
Browse files Browse the repository at this point in the history
…_log_error

raft/state_machine: log error for unknown exception
  • Loading branch information
andijcr authored Nov 24, 2023
2 parents 5c59bbc + 9126789 commit c4d37da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/raft/state_machine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ss::future<> state_machine::apply() {
.handle_exception_type([](const ss::gate_closed_exception&) {})
.handle_exception([this](const std::exception_ptr& e) {
vlog(
_log.info,
_log.error,
"State machine for ntp={} caught exception {}",
_raft->ntp(),
e);
Expand Down

0 comments on commit c4d37da

Please sign in to comment.