mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-26 20:45:17 +01:00
Remove logging of successful join/leave steps.
This was mainly left in for debugging purposes, but it creates a bit too much spam that isn't really informative or helpful in any way, since the exception reveals the failed step anyway.
This commit is contained in:
parent
dd95e16881
commit
7aad81e33f
@ -42,7 +42,6 @@ class PlayerMultiStep extends PlayerStep {
|
||||
try {
|
||||
step.run();
|
||||
history.push(step);
|
||||
logger.info("Step " + step + " OK");
|
||||
} catch (RuntimeException up) {
|
||||
logger.log(Level.SEVERE, up, () -> "Failed to run step " + step);
|
||||
undo();
|
||||
@ -57,7 +56,6 @@ class PlayerMultiStep extends PlayerStep {
|
||||
Step step = history.pop();
|
||||
try {
|
||||
step.undo();
|
||||
logger.info("Rollback " + step + " OK");
|
||||
} catch (RuntimeException e) {
|
||||
logger.log(Level.SEVERE, e, () -> "Failed to undo step " + step);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user