From: jprocter Date: Mon, 17 May 2010 09:56:31 +0000 (+0000) Subject: always pass full web service exception details to the log X-Git-Tag: Release_2_6~227 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fa129d373443b56d8a59fdec3a87f6f14b1771f3;p=jalview.git always pass full web service exception details to the log --- diff --git a/src/jalview/ws/AWSThread.java b/src/jalview/ws/AWSThread.java index 1de2c01..d49b245 100644 --- a/src/jalview/ws/AWSThread.java +++ b/src/jalview/ws/AWSThread.java @@ -92,15 +92,12 @@ public abstract class AWSThread extends Thread + jobs[j].isServerError() + ")"); } catch (Exception ex) { - if (Cache.log.isDebugEnabled()) - { - Cache.log.debug(ex); - } // Deal with Transaction exceptions wsInfo.appendProgressText(jobs[j].jobnum, "\n" + WebServiceName + " Server exception!\n" + ex.getMessage()); + // always output the exception's stack trace to the log Cache.log.warn(WebServiceName + " job(" + jobs[j].jobnum - + ") Server exception: " + ex.getMessage()); + + ") Server exception.",ex); if (jobs[j].allowedServerExceptions > 0) {