|
|
@@ -104,6 +104,7 @@ public class CallComponentController extends DefaultAbstractComponentSMO {
|
|
|
logger.error("调用api异常", e);
|
|
|
responseEntity = new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
|
|
|
} catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
logger.error("调用api异常", e);
|
|
|
String msg = "";
|
|
|
if (e instanceof InvocationTargetException) {
|
|
|
@@ -173,9 +174,11 @@ public class CallComponentController extends DefaultAbstractComponentSMO {
|
|
|
} catch (SMOException e) {
|
|
|
/*MultiValueMap<String, String> headers = new HttpHeaders();
|
|
|
headers.add("code", e.getResult().getCode());*/
|
|
|
+ e.printStackTrace();
|
|
|
logger.error("调用组件异常", e);
|
|
|
responseEntity = new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
|
|
|
} catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
logger.error("调用组件异常", e);
|
|
|
String msg = "";
|
|
|
if (e instanceof InvocationTargetException) {
|