Catch more serious errors in the plugin verifier.

It doesn't make sense for the caller to handle those.
This commit is contained in:
Kristian S. Stangeland 2014-01-08 14:53:03 +01:00
parent 7e9860f4c0
commit 31b26fd0c5

View File

@ -360,7 +360,7 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
// Do nothing
break;
}
} catch (IllegalStateException e) {
} catch (Exception e) {
reporter.reportWarning(this, Report.newBuilder(REPORT_PLUGIN_VERIFIER_ERROR).messageParam(e.getMessage()));
}
}