diff --git a/s3buildcache/src/main/kotlin/androidx/build/gradle/s3buildcache/S3StorageService.kt b/s3buildcache/src/main/kotlin/androidx/build/gradle/s3buildcache/S3StorageService.kt index 365fc3b..46d9530 100644 --- a/s3buildcache/src/main/kotlin/androidx/build/gradle/s3buildcache/S3StorageService.kt +++ b/s3buildcache/src/main/kotlin/androidx/build/gradle/s3buildcache/S3StorageService.kt @@ -106,7 +106,7 @@ class S3StorageService( throw Exception("Bucket $bucketName under project $region cannot be found or is not accessible using the provided credentials") } } catch (e: Exception) { - logger.warn("Couldn't validate S3 client config. This may be due to a connection error") + logger.warn("Couldn't validate S3 client config: ${e.message}") } }