Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Identify as Fawe when throwing unknown exceptions
Closes #1281 Closes #1279 Closes #1282
Dieser Commit ist enthalten in:
Ursprung
e08a14b3a7
Commit
8aadeb9291
@ -54,10 +54,10 @@ fun Project.applyPlatformAndCoreConfiguration() {
|
|||||||
"compileOnly"("com.google.code.findbugs:jsr305:3.0.2")
|
"compileOnly"("com.google.code.findbugs:jsr305:3.0.2")
|
||||||
"testImplementation"("org.junit.jupiter:junit-jupiter-api:5.7.2")
|
"testImplementation"("org.junit.jupiter:junit-jupiter-api:5.7.2")
|
||||||
"testImplementation"("org.junit.jupiter:junit-jupiter-params:5.7.2")
|
"testImplementation"("org.junit.jupiter:junit-jupiter-params:5.7.2")
|
||||||
"testImplementation"("org.mockito:mockito-core:3.11.2")
|
"testImplementation"("org.mockito:mockito-core:3.12.4")
|
||||||
"testImplementation"("org.mockito:mockito-junit-jupiter:3.11.2")
|
"testImplementation"("org.mockito:mockito-junit-jupiter:3.12.4")
|
||||||
"testImplementation"("net.bytebuddy:byte-buddy:1.11.9")
|
"testImplementation"("net.bytebuddy:byte-buddy:1.11.9")
|
||||||
"testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:3.11.2")
|
"testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:3.12.4")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Java 8 turns on doclint which we fail
|
// Java 8 turns on doclint which we fail
|
||||||
|
@ -51,7 +51,7 @@ text = "3.0.4"
|
|||||||
piston = "0.5.7"
|
piston = "0.5.7"
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
mockito = "3.11.2"
|
mockito = "3.12.4"
|
||||||
checker-qual = "3.16.0"
|
checker-qual = "3.16.0"
|
||||||
|
|
||||||
# Gradle plugins
|
# Gradle plugins
|
||||||
|
@ -874,7 +874,9 @@ public final class PlatformCommandManager {
|
|||||||
private void handleUnknownException(Actor actor, Throwable t) {
|
private void handleUnknownException(Actor actor, Throwable t) {
|
||||||
actor.print(Caption.of("worldedit.command.error.report"));
|
actor.print(Caption.of("worldedit.command.error.report"));
|
||||||
actor.print(TextComponent.of(t.getClass().getName() + ": " + t.getMessage()));
|
actor.print(TextComponent.of(t.getClass().getName() + ": " + t.getMessage()));
|
||||||
LOGGER.error("An unexpected error while handling a WorldEdit command", t);
|
//FAWE start - Exchange name
|
||||||
|
LOGGER.error("An unexpected error while handling a FastAsyncWorldEdit command", t);
|
||||||
|
//FAWE end
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren