actually print the stack trace
This commit is contained in:
@@ -448,6 +448,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
|
|||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
StringWriter sw = new StringWriter();
|
StringWriter sw = new StringWriter();
|
||||||
PrintWriter pw = new PrintWriter(sw);
|
PrintWriter pw = new PrintWriter(sw);
|
||||||
|
e.printStackTrace(pw);
|
||||||
throw new FermeException("error requestJob: unknow exception " + e + " stacktrace: " + sw.toString());
|
throw new FermeException("error requestJob: unknow exception " + e + " stacktrace: " + sw.toString());
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user