Merge branch 'develop' into bug/JAL-1803_JAL-2157
[jalview.git] / src / jalview / io / HtmlSvgOutput.java
index c9deb85..4e1b261 100644 (file)
@@ -100,7 +100,10 @@ public class HtmlSvgOutput
       }
     } catch (Exception e)
     {
+      pIndicator.setProgressBar(MessageManager.formatMessage(
+              "info.error_creating_file", "HTML"), pSessionId);
       e.printStackTrace();
+      return;
     }
     final File fileX = file;
     new Thread()
@@ -134,6 +137,8 @@ public class HtmlSvgOutput
 
             if (renderStyle == null || svgOption.cancelled)
             {
+              setProgressMessage(MessageManager.formatMessage(
+                      "status.cancelled_image_export_operation", "HTML"));
               return;
             }
           }