fixed merged code error.

This commit is contained in:
wenshao
2017-08-19 21:24:24 +08:00
parent 9f6950aeb4
commit 95e36c990c
@@ -843,7 +843,10 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
throw e;
} catch (InterruptedException e) {
throw new SQLException(e.getMessage(), e);
} catch (Throwable e){
} catch (RuntimeException e){
LOG.error("{dataSource-" + this.getID() + "} init error", e);
throw e;
} catch (Error e){
LOG.error("{dataSource-" + this.getID() + "} init error", e);
throw e;
}