Skip to content

Commit

Permalink
check error
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Sep 25, 2024
1 parent 1e1f0fb commit 6ae6b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/clients/oltp/mysql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ async fn task(
Err(Error::RowNotFound) => {
OLTP_RESPONSE_OK.increment();
}
_ => {
Err(e) => {
error!("error getting response: {e}");
OLTP_CONNECT_CURR.decrement();
continue;
}
Expand Down

0 comments on commit 6ae6b50

Please sign in to comment.