mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-10 16:20:59 +00:00
Emit response on failed CheckBucket requests
This allows callers to diagnose errors like InvalidAccessKeyId and RequestTimeTooSkewed.
This commit is contained in:
parent
c88a5f38be
commit
3d69ee0c30
@ -2396,6 +2396,9 @@ int S3fsCurl::CheckBucket(void)
|
||||
type = REQTYPE_CHKBUCKET;
|
||||
|
||||
int result = RequestPerform();
|
||||
if (result != 0) {
|
||||
DPRN("Check bucket failed, S3 response: %s", (bodydata ? bodydata->str() : ""));
|
||||
}
|
||||
delete bodydata;
|
||||
bodydata = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user