Addressing CR comments and changing log level from error to warn
This commit is contained in:
parent
5b06cb1c7a
commit
f9da89a41f
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ public class LeaseManager<T extends Lease> implements ILeaseManager<T> {
|
||||||
protected DependencyException convertAndRethrowExceptions(String operation, String leaseKey, AmazonClientException e)
|
protected DependencyException convertAndRethrowExceptions(String operation, String leaseKey, AmazonClientException e)
|
||||||
throws ProvisionedThroughputException, InvalidStateException {
|
throws ProvisionedThroughputException, InvalidStateException {
|
||||||
if (e instanceof ProvisionedThroughputExceededException) {
|
if (e instanceof ProvisionedThroughputExceededException) {
|
||||||
LOG.error("ProvisionedThroughputExceededException thrown, increase the IOPs on the lease table", e);
|
LOG.warn("ProvisionedThroughputExceededException thrown, increase the IOPs on the lease table");
|
||||||
throw new ProvisionedThroughputException(e);
|
throw new ProvisionedThroughputException(e);
|
||||||
} else if (e instanceof ResourceNotFoundException) {
|
} else if (e instanceof ResourceNotFoundException) {
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue