Browse Source

提交bug

weiwenhai 6 năm trước cách đây
mục cha
commit
d2badf6d00

+ 2 - 1
examcloud-core-questions-api-provider/src/main/java/cn/com/qmth/examcloud/core/questions/api/ExtractConfigController.java

@@ -76,7 +76,8 @@ public class ExtractConfigController extends ControllerSupport {
             extractConfigFileService.saveExtractConfigAndBuildPaperFile(extractConfig, isbuildFile, user);
             return new ResponseEntity<Object>(HttpStatus.OK);
         } catch (Exception e) {
-            e.printStackTrace();
+            //e.printStackTrace();
+            logger.error(e.getMessage(),e);
             throw new StatusException("Q-050099",e.getMessage());
         }
     }