Skip to content

Commit

Permalink
Fixed IntegrationRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Oct 14, 2023
1 parent 26e2282 commit e77c8ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private <R> R executeSafely(@NotNull final Supplier<R> action,
@Nullable final R defaultValue) {
try {
return action.get();
} catch (final Exception e) {
} catch (final Exception | LinkageError e) {
Eco.get().getEcoPlugin().getLogger().warning("Integration for " + integration.getPluginName() + " threw an exception!");
Eco.get().getEcoPlugin().getLogger().warning("The integration will be disabled.");
e.printStackTrace();
Expand Down

0 comments on commit e77c8ab

Please sign in to comment.