Skip to content

Commit

Permalink
fix code type in ExceptionFilter (#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewangdev authored Apr 12, 2021
1 parent 0171947 commit 2951aa5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public void onResponse(Result appResponse, Invoker<?> invoker, Invocation invoca
// directly throw if the exception appears in the signature
try {
Method method = invoker.getInterface().getMethod(invocation.getMethodName(), invocation.getParameterTypes());
Class<?>[] exceptionClassses = method.getExceptionTypes();
for (Class<?> exceptionClass : exceptionClassses) {
Class<?>[] exceptionClasses = method.getExceptionTypes();
for (Class<?> exceptionClass : exceptionClasses) {
if (exception.getClass().equals(exceptionClass)) {
return;
}
Expand Down

0 comments on commit 2951aa5

Please sign in to comment.