From: James Procter Date: Tue, 6 Jun 2023 17:42:42 +0000 (+0100) Subject: JAL-4195 report full stack trace for exceptions raised when exporting an image X-Git-Tag: Release_2_11_4_0~213^2~22^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=91546b71761644ff9a6e8268fd5bd810c2fc6b7a;p=jalview.git JAL-4195 report full stack trace for exceptions raised when exporting an image --- diff --git a/src/jalview/gui/ImageExporter.java b/src/jalview/gui/ImageExporter.java index 32704d6..e18ca86 100644 --- a/src/jalview/gui/ImageExporter.java +++ b/src/jalview/gui/ImageExporter.java @@ -220,8 +220,8 @@ public class ImageExporter messageId); } catch (Exception e) { - System.out.println(String.format("Error creating %s file: %s", type, - e.toString())); + jalview.bin.Console.error(String.format("Error creating %s file: %s", type, + e.toString()),e); setStatus(MessageManager.formatMessage("info.error_creating_file", type), messageId); }