forked from External/mage
* UI: added turn number and step info in game logs
This commit is contained in:
parent
190c3ecc00
commit
2e73f9d1c5
21 changed files with 546 additions and 529 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue