Skip to content

Commit

Permalink
Only log the server exception class and message on error
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Nov 25, 2022
1 parent 798f6d6 commit d17677f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,8 @@ public void connect(UserCredentials uc)
container.getRegistry().bind(LookupNames.PROCESSING_URL, val + "/qa/uploadProcessing/");
}
} catch (ServerError e) {
msg = new LogMessage("Server error: ", e);
msg = new LogMessage();
msg.println("Server error: " + e.serverExceptionClass + " - " + e.message);
registry.getLogger().debug(this, msg);
}

Expand Down

0 comments on commit d17677f

Please sign in to comment.