mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix: 打印初始化连接池失败的数据源
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package io.dataease.datasource.provider;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mysql.cj.log.Log;
|
||||
import io.dataease.dataset.utils.FieldUtils;
|
||||
import io.dataease.datasource.dao.auto.entity.CoreDatasource;
|
||||
import io.dataease.datasource.dao.auto.entity.CoreDriver;
|
||||
@@ -906,6 +907,7 @@ public class CalciteProvider extends Provider {
|
||||
rootSchema.add(ds.getSchemaAlias(), schema);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LogUtil.error("Fail to create connection: " + ds.getName(), e);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user