Browse Source

smb 打印日志

wanglang 1 month ago
parent
commit
515f5eb9e4

+ 1 - 1
src/main/java/com/sunxung/factoring/service/smbApi/api/impl/SMBApiServiceImpl.java

@@ -435,7 +435,7 @@ public class SMBApiServiceImpl implements SMBApiService {
                 smbRequestLogPO.setSuccess(false);
             }
         } catch (Exception e) {
-            logger.error("请求SMB-{}失败:{}", transCode, e.getMessage());
+            logger.error("请求SMB-{}失败:{}", transCode, e);
             commonResponse.setRespCode(SMBConstants.RESP_FAIL);
             commonResponse.setRespMsg("请求失败," + e.getMessage());
         }