遇到错误的第三方opId参数直接抛出运行时错误
This commit is contained in:
parent
04ff0efb10
commit
b70e1153af
@ -59,6 +59,10 @@ public class CoreDispatcher {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
String bearer = null;
|
||||
AuthSecretToken authSecretTokenOut = getAuthSecretTokenOut(operatorId3irdpty, operatorID);
|
||||
if (authSecretTokenOut!=null) {
|
||||
String error = String.format("secret/token not found for [%s/%s](opId3pt/opId)", operatorId3irdpty, operatorID);
|
||||
throw new RuntimeException(error);
|
||||
}
|
||||
try {
|
||||
if (object.getClass().getSimpleName().equals("CommonRequest")) {
|
||||
CommonRequest commonRequest = (CommonRequest) object;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user