Extend JDBC catch to include Errors
This should help resolve a situation where `getClientInfo` is not implemented and throws an `AbstractMethodError`.
MODIFY
dd-java-agent/instrumentation/jdbc/src/main/java/datadog/trace/instrumentation/jdbc/JDBCDecorator.java
dd-java-agent/instrumentation/jdbc/src/main/java/datadog/trace/instrumentation/jdbc/JDBCDecorator.java
@@ -73,7 +73,7 @@ public class JDBCDecorator extends DatabaseClientDecorator<DBInfo> {
if (url != null) {
try {
dbInfo = JDBCConnectionUrlParser.parse(url, connection.getClientInfo());
- } catch (final Exception ex) {
+ } catch (final Throwable ex) {
// getClientInfo is likely not allowed.
dbInfo = JDBCConnectionUrlParser.parse(url, null);
}

Extend JDBC catch to include Errors

This should help resolve a situation where `getClientInfo` is not implemented and throws an `AbstractMethodError`.