Skip to content

Commit

Permalink
Fixed call depth counter for sqli blocking (#7522)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinZakharov authored Aug 28, 2024
1 parent 546f797 commit 8965c97
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public static AgentScope onEnter(
// if we can't get the connection for any reason
return null;
} catch (BlockingException e) {
CallDepthThreadLocalMap.reset(Statement.class);
// re-throw blocking exceptions
throw e;
} catch (Throwable e) {
Expand Down

0 comments on commit 8965c97

Please sign in to comment.