|
@@ -185,6 +185,8 @@ object CommonService {
|
|
|
* 获取异常的堆栈信息
|
|
|
*/
|
|
|
fun getStackTrace(e : Throwable): String? {
|
|
|
- return org.apache.commons.lang3.exception.ExceptionUtils.getStackTrace(e)
|
|
|
+// return org.apache.commons.lang3.exception.ExceptionUtils.getStackTrace(e)
|
|
|
+ // 20211101 由于mysql驱动,处理json有问题,因此在此先简化处理,不返详情了
|
|
|
+ return org.apache.commons.lang3.exception.ExceptionUtils.getMessage(e)
|
|
|
}
|
|
|
}
|