【更新】数据库连接错误的信息打印
This commit is contained in:
parent
0a2cbf3629
commit
13ea45eeef
@ -110,7 +110,8 @@ public class ConstantsInitListener implements ApplicationListener<ApplicationCon
|
||||
);
|
||||
}
|
||||
} catch (SQLException | ClassNotFoundException e) {
|
||||
log.error(">>> 读取数据库constants配置信息出错:{}", e.getMessage());
|
||||
log.error(">>> 读取数据库constants配置信息出错:");
|
||||
e.printStackTrace();
|
||||
throw new ServiceException(SysConfigExceptionEnum.DATA_SOURCE_NOT_EXIST);
|
||||
} finally {
|
||||
DbUtil.close(conn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user