fix broken stack trace printer (#283)

This commit is contained in:
Andrew Smith
2020-07-26 08:05:07 -04:00
committed by GitHub
parent a7269ab15b
commit 22e914dcc0

View File

@@ -550,7 +550,7 @@ public class Server extends Thread {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
this.log.error(checkpoint, String.format("Server::HTTPSendFile Error in upload process. Exception %s stacktrace ", e.getMessage(), sw.toString()));
this.log.error(checkpoint, String.format("Server::HTTPSendFile Error in upload process. Exception %s stacktrace ", e.getMessage()) + sw.toString());
return ServerCode.UNKNOWN;
}
catch (OutOfMemoryError e) {