From f9da89a41fc4f0fe2eb90007515f372058cf12af Mon Sep 17 00:00:00 2001 From: Sahil Palvia Date: Wed, 13 Sep 2017 17:07:17 -0700 Subject: [PATCH] Addressing CR comments and changing log level from error to warn --- .../amazonaws/services/kinesis/leases/impl/LeaseManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java b/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java index 3efdff41..a8904918 100644 --- a/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java +++ b/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java @@ -564,7 +564,7 @@ public class LeaseManager implements ILeaseManager { protected DependencyException convertAndRethrowExceptions(String operation, String leaseKey, AmazonClientException e) throws ProvisionedThroughputException, InvalidStateException { 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); } else if (e instanceof ResourceNotFoundException) { // @formatter:on