Skip to content

Commit

Permalink
forgot to uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
jchoi614 committed Jul 2, 2024
1 parent 5911d0b commit 4d1c079
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ protected void postConnectionHook(
} catch (Exception e) {
log.error("Error in proxying falling back to super call", e);
}
// if (response.getStatus() >= 500){
// errorCounter5xx.inc();
// } else if (response.getStatus() >= 400){
// errorCounter4xx.inc();
// }
if (response.getStatus() >= 500){
errorCounter5xx.inc();
} else if (response.getStatus() >= 400){
errorCounter4xx.inc();
}

super.postConnectionHook(request, response, buffer, offset, length, callback);
}
Expand Down

0 comments on commit 4d1c079

Please sign in to comment.