+
Skip to content

Conversation

qris
Copy link

@qris qris commented Sep 10, 2022

Include the bucket name and URI in the logged error message (via the exception object).

Before:

ERROR: S3 error: 403 (Forbidden)

After:

ERROR: S3 error: 403 (Forbidden): {'bucket': 'iPhoto....net', 'uri': '/.../Masters/2016/10/15/20161015-142339/IMG_3290.MOV'}

…ration

Include the bucket name and URI in the logged error message (via the exception object).
@fviard
Copy link
Contributor

fviard commented Oct 4, 2022

Have you an example of command and debug output ("-d") that will generate a case like that?
Normally, you should already have access to the info through the existing exc.resource, no? Except if aws does not return it, but, then it maybe means that the object in itself is not what is causing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载