|
@@ -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();
|
|
|
}
|