From fa129d373443b56d8a59fdec3a87f6f14b1771f3 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 17 May 2010 09:56:31 +0000 Subject: [PATCH] always pass full web service exception details to the log --- src/jalview/ws/AWSThread.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) { -- 1.7.10.2