Skip to content

Commit e7047fd

Browse files
committed
libstore: Remove the unnecessary 'error: ' prefix in warning message
1 parent 33e94fe commit e7047fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/aws-creds.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class AwsCredentialProviderImpl : public AwsCredentialProvider
9090
try {
9191
return getCredentialsRaw(profile);
9292
} catch (AwsAuthError & e) {
93-
warn("AWS authentication failed for S3 request %s: %s", url.toHttpsUrl(), e.what());
93+
warn("AWS authentication failed for S3 request %s: %s", url.toHttpsUrl(), e.message());
9494
credentialProviderCache.erase(profile);
9595
throw;
9696
}

0 commit comments

Comments
 (0)