Skip to content

Comments

Change upload failed error message printing#572

Open
s4mur4i wants to merge 1 commit intoderailed:masterfrom
s4mur4i:master
Open

Change upload failed error message printing#572
s4mur4i wants to merge 1 commit intoderailed:masterfrom
s4mur4i:master

Conversation

@s4mur4i
Copy link

@s4mur4i s4mur4i commented Feb 10, 2026

Currently when there is an error with latest version v0.22.1, the error message is not displayed.
Log fatal exits and does not print the error.

Test:
Remove createBucket permission from the role.

Expectaion:
Error is printed to screen with the error

Currently:
There is an empty screen, no log, just an exit code of 1

With this change the current error is printed before the exit.

AWS_PROFILE=test ./popeye --s3-bucket xyz -A --out html -v 4                                                                               internal-dev-cluster
S3 upload failed: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: xyz, HostID: xyz, api error AccessDenied: User: arn:aws:sts::xxx:assumed-role/xyz is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::xyz" because no identity-based policy allows the s3:CreateBucket action

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant