Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Send WrappedCommandException to the logger.
Dieser Commit ist enthalten in:
Ursprung
4e69c7263f
Commit
dd497fdcb1
@ -241,7 +241,7 @@ public final class CommandManager {
|
|||||||
Throwable t = e.getCause();
|
Throwable t = e.getCause();
|
||||||
actor.printError("Please report this error: [See console]");
|
actor.printError("Please report this error: [See console]");
|
||||||
actor.printRaw(t.getClass().getName() + ": " + t.getMessage());
|
actor.printRaw(t.getClass().getName() + ": " + t.getMessage());
|
||||||
t.printStackTrace();
|
logger.log(Level.SEVERE, "An unexpected error while handling a WorldEdit command", t);
|
||||||
} catch (CommandException e) {
|
} catch (CommandException e) {
|
||||||
String message = e.getMessage();
|
String message = e.getMessage();
|
||||||
if (message != null) {
|
if (message != null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren