Skip to content

Commit

Permalink
[#10859] Fix interceptor holder log NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehong-kim committed Apr 16, 2024
1 parent 54767c0 commit 4e57fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public void addInterceptor(int interceptorId) throws InstrumentException {
final Interceptor interceptor = InterceptorRegistry.getInterceptor(interceptorId);
if (interceptor == null) {
// defense code
throw new InstrumentException("not found interceptor " + interceptor.getClass().getName() + " to " + this.methodNode.getLongName());
throw new InstrumentException("not found interceptor " + interceptorId + " to " + this.methodNode.getLongName());
}
try {
addInterceptor0(interceptor.getClass(), interceptorId);
Expand Down

0 comments on commit 4e57fcf

Please sign in to comment.