Do not print stacktrace on PUT request (#13)
This commit is contained in:
parent
23f98f190b
commit
c8a2e0784f
@ -732,7 +732,7 @@ public class HTTPVaultConnector implements VaultConnector {
|
||||
try {
|
||||
entity = new StringEntity(jsonMapper.writeValueAsString(payload));
|
||||
} catch (UnsupportedEncodingException | JsonProcessingException e) {
|
||||
e.printStackTrace();
|
||||
throw new InvalidRequestException("Payload serialization failed", e);
|
||||
}
|
||||
/* Parse parameters */
|
||||
put.setEntity(entity);
|
||||
|
Loading…
x
Reference in New Issue
Block a user