Skip to content

Commit 36cd24c

Browse files
committed
fix: log connection URL when it can't be parsed
1 parent def26c6 commit 36cd24c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgjdbc/src/main/java/org/postgresql/Driver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private Properties loadDefaultProperties() throws IOException {
271271
// parse URL and add more properties
272272
if ((props = parseURL(url, props)) == null) {
273273
throw new PSQLException(
274-
GT.tr("Unable to parse URL "),
274+
GT.tr("Unable to parse URL {0}", url),
275275
PSQLState.UNEXPECTED_ERROR);
276276
}
277277
try {

0 commit comments

Comments
 (0)