awscli-login icon indicating copy to clipboard operation
awscli-login copied to clipboard

invalid literal for int() with base 10: '' when omitting role selection

Open JonRoma opened this issue 3 years ago • 1 comments

If one hits return instead of selecting a role by number, one gets the error message invalid literal for int() with base 10: '', which is programmer-centric but not user-centric. Placing this in a loop with a message stating "Please select a role or enter 'q' to quit" might be more appropriate.

: aws login
Please choose the role you would like to assume:
     Account: 224588347132
         [ 0 ]: ApplicationServicesAdmins
     Account: 378517677616
         [ 1 ]: TechServicesStaff
     Account: 531841101767
         [ 2 ]: ApplicationServicesAdmins
     Account: 617683844790
         [ 3 ]: ApplicationServicesAdmins
     Account: 621331288878
         [ 4 ]: ApplicationServicesAdmins
     Account: 736533337653
         [ 5 ]: ADAdmins
Selection: 
invalid literal for int() with base 10: ''

JonRoma avatar Aug 10 '21 19:08 JonRoma

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Mar 27 '24 13:03 github-actions[bot]