Explorar el Código

3.4.5 update-20250423,bug修改

xiaofei hace 2 meses
padre
commit
d20b3efb5e

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/ExamCardServiceImpl.java

@@ -190,7 +190,7 @@ public class ExamCardServiceImpl extends ServiceImpl<ExamCardMapper, ExamCard> i
             map.put("title", examCard.getTitle());
             return map;
         } catch (ApiException e) {
-            throw new RuntimeException(e);
+            throw ExceptionResultEnum.ERROR.exception(e.getMessage());
         } finally {
             concurrentService.getReadWriteLock(LockType.CUSTOM_CARD_SAVE + "-" + params.getCourseId() + params.getTitle()).writeLock().unlock();
         }