File tree 1 file changed +5
-4
lines changed
dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -755,12 +755,13 @@ private static synchronized void registerSmapEntryEvent() {
755
755
"com.datadog.profiling.controller.openjdk.events.SmapEntryFactory" );
756
756
final Method registerMethod = smapFactoryClass .getMethod ("registerEvents" );
757
757
registerMethod .invoke (null );
758
- } catch (final NoClassDefFoundError
758
+ } catch (final NoSuchMethodException
759
+ | NoClassDefFoundError
759
760
| ClassNotFoundException
760
- | UnsupportedClassVersionError ignored ) {
761
+ | UnsupportedClassVersionError
762
+ | IllegalAccessException
763
+ | InvocationTargetException ignored ) {
761
764
log .debug ("Smap entry scraping not supported" );
762
- } catch (final Throwable ex ) {
763
- log .error ("Unable to initialize smap entry scraping" , ex );
764
765
}
765
766
}
766
767
You can’t perform that action at this time.
0 commit comments