diff --git a/src/main/java/it/unibo/bombardero/core/BombarderoEngine.java b/src/main/java/it/unibo/bombardero/core/BombarderoEngine.java index 0cb2f82f..e75ed45d 100644 --- a/src/main/java/it/unibo/bombardero/core/BombarderoEngine.java +++ b/src/main/java/it/unibo/bombardero/core/BombarderoEngine.java @@ -51,7 +51,7 @@ private void waitForNextFrame(final long currentCycleStartTime) { try { Thread.sleep(BombarderoEngine.SLEEP_TIME - currentCycleElapsedTime); } catch (IllegalArgumentException | InterruptedException e) { - System.out.println("Exception in thread sleeping: " + e.getMessage()); + e.printStackTrace(); } } }