fix: 校验数据源连接

This commit is contained in:
taojinlong 2021-06-02 10:46:06 +08:00
parent 0613ed385d
commit 82b66cb263

View File

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