Identify as Fawe when throwing unknown exceptions

Closes #1281
Closes #1279
Closes #1282
This commit is contained in:
NotMyFault
2021-09-06 15:28:54 +02:00
parent e08a14b3a7
commit 8aadeb9291
3 changed files with 7 additions and 5 deletions

View File

@ -874,7 +874,9 @@ public final class PlatformCommandManager {
private void handleUnknownException(Actor actor, Throwable t) {
actor.print(Caption.of("worldedit.command.error.report"));
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