X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Foutput%2FInfoCover.java;h=a1b37913bc9e44789eb3d29801b88bc94362a0ad;hb=62c63b0724f4bc45999cb2e7186b4b3ada479a0a;hp=4be150c268843285d952c5672db8fc9c65615118;hpb=a9eb3f46dd83115e7a549e96e800b932162b68ad;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/output/InfoCover.java b/src/be/nikiroo/fanfix/output/InfoCover.java index 4be150c..a1b3791 100644 --- a/src/be/nikiroo/fanfix/output/InfoCover.java +++ b/src/be/nikiroo/fanfix/output/InfoCover.java @@ -12,7 +12,7 @@ import be.nikiroo.fanfix.Instance; import be.nikiroo.fanfix.bundles.Config; import be.nikiroo.fanfix.data.MetaData; -class InfoCover { +public class InfoCover { public static void writeInfo(File targetDir, String targetName, MetaData meta) throws IOException { File info = new File(targetDir, targetName + ".info"); @@ -75,8 +75,8 @@ class InfoCover { targetName + "." + format)); } catch (IOException e) { // Allow to continue without cover - Instance.syserr(new IOException( - "Failed to save the cover image", e)); + Instance.getTraceHandler().error( + new IOException("Failed to save the cover image", e)); } } }