From f871c9fad37f18360e54af161828841b59dc80ac Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 30 Aug 2011 11:27:00 +0100 Subject: [PATCH] JAL-715 - notify user of parsing problems for results from a service's URL --- src/jalview/ws/rest/RestJobThread.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/ws/rest/RestJobThread.java b/src/jalview/ws/rest/RestJobThread.java index 4bc183a..6adaecd 100644 --- a/src/jalview/ws/rest/RestJobThread.java +++ b/src/jalview/ws/rest/RestJobThread.java @@ -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.
URL for job response is :"+rj.resSet.getUrl()+"
"; + } } } if (validres > 0) -- 1.7.10.2