mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
fix: 校验数据源连接
This commit is contained in:
parent
0613ed385d
commit
82b66cb263
@ -232,7 +232,7 @@ public class JdbcProvider extends DatasourceProvider {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new Exception("ERROR: " + e.getMessage(), e);
|
throw new Exception("ERROR: " + e.getMessage(), e);
|
||||||
} finally {
|
} finally {
|
||||||
con.close();
|
if(con != null){con.close();}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user