mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
修复异常执行器再未进行自定义的情况下,会将异常堆栈吞掉的问题
This commit is contained in:
parent
eea34ace98
commit
2df3db09d9
@ -2,6 +2,7 @@ package org.dromara.sms4j.api.proxy;
|
||||
|
||||
|
||||
import org.dromara.sms4j.api.entity.SmsResponse;
|
||||
import org.dromara.sms4j.comm.exception.SmsBlendException;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
/**
|
||||
@ -45,5 +46,6 @@ public interface SmsProcessor extends Order {
|
||||
* @author :Wind
|
||||
*/
|
||||
default void exceptionHandleProcessor(Method method, Object source, Object[] param, Exception exception) throws RuntimeException {
|
||||
throw new SmsBlendException(exception);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user