Update nikiroo-utils, remove Instance.syserr/trace
[nikiroo-utils.git] / src / be / nikiroo / fanfix / reader / BasicReader.java
index a261c04b4db36c2bd9a7c366b24b25ff0b09e2eb..0ea403c40f4fdf5af11da2d1345cf5184069b6fb 100644 (file)
@@ -133,7 +133,7 @@ public abstract class BasicReader implements Reader {
                                                .getTypeName());
                        }
                } catch (Exception e) {
-                       Instance.syserr(new Exception("Cannot create a reader of type: "
+                       Instance.getTraceHandler().error(new Exception("Cannot create a reader of type: "
                                        + defaultType + " (Not compiled in?)", e));
                }
 
@@ -215,7 +215,7 @@ public abstract class BasicReader implements Reader {
        public static void openExternal(BasicLibrary lib, String luid)
                        throws IOException {
                MetaData meta = lib.getInfo(luid);
-               File target = lib.getFile(luid);
+               File target = lib.getFile(luid, null);
 
                openExternal(meta, target);
        }