[libbluray-devel] MountManager: log error when returning null mount point

hpi1 git at videolan.org
Tue Nov 24 09:45:02 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Nov 24 10:21:54 2015 +0200| [f5c7dd971385128a3ee8f44f926e9642b9d16897] | committer: hpi1

MountManager: log error when returning null mount point

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f5c7dd971385128a3ee8f44f926e9642b9d16897
---

 src/libbluray/bdj/java/org/videolan/MountManager.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/videolan/MountManager.java b/src/libbluray/bdj/java/org/videolan/MountManager.java
index aea3c4a..5c9660a 100644
--- a/src/libbluray/bdj/java/org/videolan/MountManager.java
+++ b/src/libbluray/bdj/java/org/videolan/MountManager.java
@@ -221,7 +221,7 @@ public class MountManager {
         if (mountPoint != null) {
             return mountPoint.getMountPoint();
         } else {
-            logger.info("JAR " + jarId + " not mounted");
+            logger.error("JAR " + jarId + " not mounted");
         }
         return null;
     }
@@ -247,6 +247,7 @@ public class MountManager {
             if (dir != null) {
                 return dir.getAbsolutePath();
             }
+            logger.error("getMountPoint(): already unmounted !");
             return null;
         }
 



More information about the libbluray-devel mailing list