mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
parent
aae8dab7c3
commit
32ace71130
@ -172,8 +172,6 @@ public class ExtensionSvc implements ExtensionService {
|
|||||||
} catch (DataExtensionMethodCallException methodCallFailed) {
|
} catch (DataExtensionMethodCallException methodCallFailed) {
|
||||||
logFailure(playerName, methodCallFailed);
|
logFailure(playerName, methodCallFailed);
|
||||||
methodCallFailed.getMethod().ifPresent(gatherer::disableMethodFromUse);
|
methodCallFailed.getMethod().ifPresent(gatherer::disableMethodFromUse);
|
||||||
// Try again
|
|
||||||
updatePlayerValues(gatherer, playerUUID, playerName, event);
|
|
||||||
} catch (Exception | NoClassDefFoundError | NoSuchFieldError | NoSuchMethodError unexpectedError) {
|
} catch (Exception | NoClassDefFoundError | NoSuchFieldError | NoSuchMethodError unexpectedError) {
|
||||||
ErrorContext.Builder context = ErrorContext.builder()
|
ErrorContext.Builder context = ErrorContext.builder()
|
||||||
.whatToDo("Report and/or disable " + gatherer.getPluginName() + " extension in the Plan config.")
|
.whatToDo("Report and/or disable " + gatherer.getPluginName() + " extension in the Plan config.")
|
||||||
@ -215,8 +213,6 @@ public class ExtensionSvc implements ExtensionService {
|
|||||||
} catch (DataExtensionMethodCallException methodCallFailed) {
|
} catch (DataExtensionMethodCallException methodCallFailed) {
|
||||||
logFailure("server", methodCallFailed);
|
logFailure("server", methodCallFailed);
|
||||||
methodCallFailed.getMethod().ifPresent(gatherer::disableMethodFromUse);
|
methodCallFailed.getMethod().ifPresent(gatherer::disableMethodFromUse);
|
||||||
// Try again
|
|
||||||
updateServerValues(gatherer, event);
|
|
||||||
} catch (Exception | NoClassDefFoundError | NoSuchFieldError | NoSuchMethodError unexpectedError) {
|
} catch (Exception | NoClassDefFoundError | NoSuchFieldError | NoSuchMethodError unexpectedError) {
|
||||||
ErrorContext.Builder context = ErrorContext.builder()
|
ErrorContext.Builder context = ErrorContext.builder()
|
||||||
.whatToDo("Report and/or disable " + gatherer.getPluginName() + " extension in the Plan config.")
|
.whatToDo("Report and/or disable " + gatherer.getPluginName() + " extension in the Plan config.")
|
||||||
|
Loading…
Reference in New Issue
Block a user