|
发表于 2020-4-17 23:18:24
|
显示全部楼层
} catch (Exception e) {5 x5 T1 t$ S, s- X' O# S- [2 p. U" j
log.error("{}[{}]", e.getMessage(), e);8 ?3 o9 ]: V* Z" v% _4 W
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
# |0 W# j7 D* L3 Y, m: I5 W responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
8 o" P% ]1 n' K7 ^ } finally { F8 N/ n( n/ S7 Q! L0 O
return responseObject;! N: K3 q( D S% E. n6 ?9 C/ K+ W
} |
|