From 91546b71761644ff9a6e8268fd5bd810c2fc6b7a Mon Sep 17 00:00:00 2001 From: James Procter Date: Tue, 6 Jun 2023 18:42:42 +0100 Subject: [PATCH] JAL-4195 report full stack trace for exceptions raised when exporting an image --- src/jalview/gui/ImageExporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.10.2