Skip to content

aws-login -vvv does not print a Traceback on error #260

@ddriddle

Description

@ddriddle

There is a bug in @error_handler that wraps the _main function in src/awscli_login/credentials.py:

@error_handler()
def _main(profile: Profile, session: Session):
    get_credentials(profile, session)

The code currently just ignore the verbose flag. error_handler will require a refactor to support this use case.

Tasks

  • update error_handler to accept and comply with the --verbose flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood to goReady to work on

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions