JAL-715 - notify user of parsing problems for results from a service's URL
[jalview.git] / src / jalview / ws / rest / RestJobThread.java
index 4bc183a..6adaecd 100644 (file)
@@ -455,6 +455,10 @@ public class RestJobThread extends AWSThread
                   + rj.getJobId());
           ex.printStackTrace();
         }
+        finally {
+          rj.error=true;
+          rj.statMessage = "Error whilst parsing data for this job.<br>URL for job response is :<a href=\""+rj.resSet.getUrl()+"\">"+rj.resSet.getUrl()+"</a><br>";
+        }
       }
     }
     if (validres > 0)