Browse Source

Fix #297

pull/298/head
Decebal Suiu 6 years ago
parent
commit
17102040c7
  1. 2
      pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java

2
pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java

@ -198,7 +198,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin
ExtensionWrapper extensionWrapper = createExtensionWrapper(extensionClass); ExtensionWrapper extensionWrapper = createExtensionWrapper(extensionClass);
result.add(extensionWrapper); result.add(extensionWrapper);
log.debug("Added extension '{}' with ordinal {}", className, extensionWrapper.getOrdinal()); log.debug("Added extension '{}' with ordinal {}", className, extensionWrapper.getOrdinal());
} catch (ClassNotFoundException e) { } catch (ClassNotFoundException | NoSuchMethodError e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
} }
} }

Loading…
Cancel
Save