We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2c982 commit 4a1d0cbCopy full SHA for 4a1d0cb
dd-java-agent/instrumentation/jdbc/src/main/java/datadog/trace/instrumentation/jdbc/JDBCDecorator.java
@@ -218,13 +218,15 @@ public static DBInfo parseDBInfoFromConnection(final Connection connection) {
218
clientInfo = connection.getClientInfo();
219
} catch (final Throwable ex) {
220
// getClientInfo is likely not allowed, we can still extract info from the url alone
221
+ log.debug("Could not get client info from DB", ex);
222
}
223
224
dbInfo = JDBCConnectionUrlParser.extractDBInfo(url, clientInfo);
225
} else {
226
dbInfo = DBInfo.DEFAULT;
227
228
} catch (final SQLException se) {
229
+ log.debug("Could not get metadata from DB", se);
230
231
232
return dbInfo;
0 commit comments