JAL-715 - notify user of parsing problems for results from a service's URL
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 30 Aug 2011 10:27:00 +0000 (11:27 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 30 Aug 2011 10:27:00 +0000 (11:27 +0100)
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)