Skip to content

Commit 739fb18

Browse files
committed
Print error message when validation fails
1 parent 163724a commit 739fb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3buildcache/src/main/kotlin/androidx/build/gradle/s3buildcache/S3StorageService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class S3StorageService(
106106
throw Exception("Bucket $bucketName under project $region cannot be found or is not accessible using the provided credentials")
107107
}
108108
} catch (e: Exception) {
109-
logger.warn("Couldn't validate S3 client config. This may be due to a connection error")
109+
logger.warn("Couldn't validate S3 client config: ${e.message}")
110110
}
111111
}
112112

0 commit comments

Comments
 (0)