mirror of https://gitee.com/makejava/EasyCode.git
针对找不到.idea路径的情况记录异常信息,便于分析
This commit is contained in:
parent
19f5412b9f
commit
cadc87404b
|
@ -392,6 +392,8 @@ public class TableInfoServiceImpl implements TableInfoService {
|
|||
VirtualFile ideaDir = baseDir.findChild(".idea");
|
||||
if (ideaDir == null) {
|
||||
Messages.showInfoMessage(".idea路径获取失败", MsgValue.TITLE_INFO);
|
||||
String errorMsg = String.format("baseDir:%s, not found .idea child directory", baseDir.getPath());
|
||||
ExceptionUtil.rethrow(new IllegalStateException(errorMsg));
|
||||
return null;
|
||||
}
|
||||
// 查找或创建EasyCodeConfig路径
|
||||
|
|
Loading…
Reference in New Issue