mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 02:58:36 -05:00
tower: Handle AuthError (#53377)
Handle AuthError raised when user provides incorrect password for Tower admin user. Fixes: #50535 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
AlanCoding
parent
b034295c99
commit
b96b69360f
@@ -148,7 +148,7 @@ def main():
|
||||
if sender.changed_messages > 0:
|
||||
result['changed'] = True
|
||||
except TowerCLIError as e:
|
||||
result['msg'] = e
|
||||
result['msg'] = e.message
|
||||
failed = True
|
||||
finally:
|
||||
if path is not None:
|
||||
|
||||
Reference in New Issue
Block a user