Skip to content

Commit 0326c5e

Browse files
authored
Remove ex.printStackTrace();
1 parent 20c3988 commit 0326c5e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ public void invalidate(final PooledConnection pc) throws SQLException {
196196
// Calling close before invalidate ensures that invalidate will not trigger a create attempt
197197
pool.invalidateObject(pci); // Destroy instance and update pool counters
198198
} catch (final Exception ex) {
199-
ex.printStackTrace();
200199
throw new SQLException("Error invalidating connection", ex);
201200
}
202201
}

0 commit comments

Comments
 (0)