yaozhixue 1 year ago
parent
commit
5bd2eaedff
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/java/com/zfire/jiasm/syncdata/base/BaseService.java

+ 3 - 0
src/main/java/com/zfire/jiasm/syncdata/base/BaseService.java

@@ -103,6 +103,7 @@ public class BaseService {
             }
             fos.flush();
         } catch (Exception e){
+            log.info("id = {}",id);
             throw new RemoteServiceException(e.getMessage());
         } finally {
             try{
@@ -110,6 +111,8 @@ public class BaseService {
                 bis.close();
                 httpUrl.disconnect();
             }catch (Exception e){
+                log.info("id = {}",id);
+                e.printStackTrace();
                 throw new RemoteServiceException(e.getMessage());
             }
         }