git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b793de8
)
always pass full web service exception details to the log
author
jprocter
<Jim Procter>
Mon, 17 May 2010 09:56:31 +0000
(09:56 +0000)
committer
jprocter
<Jim Procter>
Mon, 17 May 2010 09:56:31 +0000
(09:56 +0000)
src/jalview/ws/AWSThread.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/AWSThread.java
b/src/jalview/ws/AWSThread.java
index
1de2c01
..
d49b245
100644
(file)
--- 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)
{
+ 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());
// 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
Cache.log.warn(WebServiceName + " job(" + jobs[j].jobnum
- + ") Server exception: " + ex.getMessage());
+ + ") Server exception.",ex);
if (jobs[j].allowedServerExceptions > 0)
{
if (jobs[j].allowedServerExceptions > 0)
{