mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #9720 from SaveTheRbtz/verbose-sign-in
crypt: log sign_in errors
This commit is contained in:
commit
b463cc0e5b
@ -336,8 +336,9 @@ class Auth(object):
|
||||
True,
|
||||
self.opts['ipv6']
|
||||
)
|
||||
except SaltClientError:
|
||||
except SaltClientError as e:
|
||||
if safe:
|
||||
log.warning('SaltClientError: {0}'.format(e))
|
||||
return 'retry'
|
||||
raise SaltClientError
|
||||
|
||||
@ -349,8 +350,9 @@ class Auth(object):
|
||||
self.minion_sign_in_payload(),
|
||||
timeout=timeout
|
||||
)
|
||||
except SaltReqTimeoutError:
|
||||
except SaltReqTimeoutError as e:
|
||||
if safe:
|
||||
log.warning('SaltReqTimeoutError: {0}'.format(e))
|
||||
return 'retry'
|
||||
raise SaltClientError
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user