[libbluray-devel] Use logger
hpi1
git at videolan.org
Sun Apr 17 21:41:58 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Apr 17 19:41:14 2016 +0300| [7db720753be647051e42f338f871a74a11e49caa] | committer: hpi1
Use logger
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7db720753be647051e42f338f871a74a11e49caa
---
src/libbluray/bdj/java/java/awt/BDGraphicsBase.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdj/java/java/awt/BDGraphicsBase.java b/src/libbluray/bdj/java/java/awt/BDGraphicsBase.java
index 5504d30..0e2fd5f 100644
--- a/src/libbluray/bdj/java/java/awt/BDGraphicsBase.java
+++ b/src/libbluray/bdj/java/java/awt/BDGraphicsBase.java
@@ -1520,9 +1520,11 @@ abstract class BDGraphicsBase extends DVBGraphics implements ConstrainableGraphi
try {
return (Image)bufferedImagePeer.get(image);
} catch (IllegalArgumentException e) {
- e.printStackTrace();
+ logger.error("Failed getting buffered image peer: " + e + "\n" +
+ Logger.dumpStack(e));
} catch (IllegalAccessException e) {
- e.printStackTrace();
+ logger.error("Failed getting buffered image peer: " + e + "\n" +
+ Logger.dumpStack(e));
}
return null;
}
More information about the libbluray-devel
mailing list