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:
@@ -42,7 +42,6 @@ class PlayerMultiStep extends PlayerStep {
|
|||||||
try {
|
try {
|
||||||
step.run();
|
step.run();
|
||||||
history.push(step);
|
history.push(step);
|
||||||
logger.info("Step " + step + " OK");
|
|
||||||
} catch (RuntimeException up) {
|
} catch (RuntimeException up) {
|
||||||
logger.log(Level.SEVERE, up, () -> "Failed to run step " + step);
|
logger.log(Level.SEVERE, up, () -> "Failed to run step " + step);
|
||||||
undo();
|
undo();
|
||||||
@@ -57,7 +56,6 @@ class PlayerMultiStep extends PlayerStep {
|
|||||||
Step step = history.pop();
|
Step step = history.pop();
|
||||||
try {
|
try {
|
||||||
step.undo();
|
step.undo();
|
||||||
logger.info("Rollback " + step + " OK");
|
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
logger.log(Level.SEVERE, e, () -> "Failed to undo step " + step);
|
logger.log(Level.SEVERE, e, () -> "Failed to undo step " + step);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user