Commit 46a39a8e3cb0e70a300bcb9dc40a1f340427acc2

Authored by 周峰
1 parent 6f213884

fix

src/main/java/com/huaheng/pc/monitor/apilog/domain/ApiLog.java
@@ -84,7 +84,7 @@ public class ApiLog implements Serializable{ @@ -84,7 +84,7 @@ public class ApiLog implements Serializable{
84 public String getExceptionMsg(){ 84 public String getExceptionMsg(){
85 String msg = exception; 85 String msg = exception;
86 try{ 86 try{
87 - msg = exception.split("\n")[0]; 87 + msg = exception.trim().split("\n")[0];
88 }catch (Exception e){ 88 }catch (Exception e){
89 89
90 } 90 }