JAL-4195 report full stack trace for exceptions raised when exporting an image
[jalview.git] / src / jalview / gui / ImageExporter.java
index 32704d6..e18ca86 100644 (file)
@@ -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);
     }