Skip to content

Commit 609084f

Browse files
Avoid rethrowing exception from Postgres connection closing error (#193)
1 parent 0bf28a1 commit 609084f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

document-store/src/main/java/org/hypertrace/core/documentstore/postgres/PostgresCollection.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import com.fasterxml.jackson.databind.node.ObjectNode;
3131
import com.fasterxml.jackson.databind.node.TextNode;
3232
import com.google.common.annotations.VisibleForTesting;
33-
import com.sun.jdi.InternalException;
3433
import java.io.IOException;
3534
import java.math.BigInteger;
3635
import java.sql.BatchUpdateException;
@@ -1328,7 +1327,6 @@ protected void closeResultSet() {
13281327
}
13291328
} catch (SQLException ex) {
13301329
LOGGER.error("Unable to close connection", ex);
1331-
throw new InternalException(ex.getMessage());
13321330
}
13331331
}
13341332

0 commit comments

Comments
 (0)