Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit ffa60e1

Browse files
committed
exception match should use getClass method not instance
1 parent 937d1f6 commit ffa60e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/suren/autotest/web/framework/settings/AutoModuleProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private boolean exceptionHandle(AutoExpect autoExpect, Throwable e)
117117
{
118118
for(Class<?> clz : acceptArray)
119119
{
120-
if(clz.equals(e))
120+
if(clz.equals(e.getClass()))
121121
{
122122
return true;
123123
}

0 commit comments

Comments
 (0)