* UI: added turn number and step info in game logs

This commit is contained in:
Oleg Agafonov 2020-02-28 20:27:07 +04:00
parent 190c3ecc00
commit 2e73f9d1c5
21 changed files with 546 additions and 529 deletions

View file

@ -470,7 +470,7 @@ public final class ImageCache {
image = ImageIO.read(inputStream);
}
} catch (Exception e) {
LOGGER.error(e, e);
LOGGER.error(e.getMessage(), e);
}
return image;
@ -488,7 +488,7 @@ public final class ImageCache {
ImageIO.write(image, format, outputStream);
}
} catch (IOException e) {
LOGGER.error(e, e);
LOGGER.error(e.getMessage(), e);
imageFile.delete();
}
return image;