aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-05-03 08:01:25 -0600
committerBen Burdette <bburdette@gmail.com>2020-05-03 08:01:25 -0600
commitab6f0b9641ad6e9cef72f73d23e31138a97a225b (patch)
treec9c8a4e44a0657f6fb186e2401799846847673f5 /src/libstore/s3-binary-cache-store.cc
parent4b99c09f5ccd385d2bf0c82a8c9a4ae1658abbe8 (diff)
convert some printError calls to logError
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r--src/libstore/s3-binary-cache-store.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index 0326821f6..3175eb69b 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -111,7 +111,9 @@ class RetryStrategy : public Aws::Client::DefaultRetryStrategy
auto retry = Aws::Client::DefaultRetryStrategy::ShouldRetry(error, attemptedRetries);
if (retry)
printError("AWS error '%s' (%s), will retry in %d ms",
- error.GetExceptionName(), error.GetMessage(), CalculateDelayBeforeNextRetry(error, attemptedRetries));
+ error.GetExceptionName(),
+ error.GetMessage(),
+ CalculateDelayBeforeNextRetry(error, attemptedRetries));
return retry;
}
};