Update nikiroo-utils, remove Instance.syserr/trace
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / Text.java
index c9ebd18d108ddac863b5182c9554033fe2e78f6e..ff9d264f8494b9d68ddf73fc557acc539b59044b 100644 (file)
@@ -156,7 +156,7 @@ class Text extends BasicSupport {
                try {
                        path = new File(source.toURI()).getPath();
                } catch (URISyntaxException e) {
-                       Instance.syserr(e);
+                       Instance.getTraceHandler().error(e);
                        path = null;
                }
 
@@ -242,7 +242,7 @@ class Text extends BasicSupport {
                                file = new File(url.toURI());
                                file = new File(file.getPath() + ".info");
                        } catch (URISyntaxException e) {
-                               Instance.syserr(e);
+                               Instance.getTraceHandler().error(e);
                                file = null;
                        }