Update nikiroo-utils, remove Instance.syserr/trace
[fanfix.git] / src / be / nikiroo / fanfix / library / BasicLibrary.java
index b11e1ec5276324743b2ea64fb0697d616567c7d4..66fb94355b538a94c900279bf0278675e6e5d9e3 100644 (file)
@@ -319,13 +319,14 @@ abstract public class BasicLibrary {
                                        if (type != null) {
                                                story = BasicSupport.getSupport(type).process(url,
                                                                pgProcess);
+                                               story.setMeta(meta);
                                        } else {
                                                throw new IOException("Unknown type: " + meta.getType());
                                        }
                                } catch (IOException e) {
                                        // We should not have not-supported files in the
                                        // library
-                                       Instance.syserr(new IOException(
+                                       Instance.getTraceHandler().error(new IOException(
                                                        "Cannot load file from library: " + file, e));
                                } finally {
                                        pgProcess.done();