Commit 8966cd99 authored by swift_gan's avatar swift_gan Committed by swift_gan

fuck throw exception

parent 5eb40da3
......@@ -281,12 +281,10 @@ public class HookStubManager {
param.setThrowable(lastThrowable);
}
} while (--afterIdx >= 0);
if (param.hasThrowable()) {
if (!param.hasThrowable()) {
return entity.getResultAddress(param.getResult());
} else {
final Object result = param.getResult();
return entity.getResultAddress(result);
throw param.getThrowable();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment