mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27419 from rallytime/fix-9856
Amend error log to include multiple tips for troubleshooting.
This commit is contained in:
commit
ed6207a438
1 changed files with 2 additions and 1 deletions
|
@ -1612,7 +1612,8 @@ def grant_exists(grant,
|
|||
grants = user_grants(user, host, **connection_args)
|
||||
|
||||
if grants is False:
|
||||
log.debug('Grant does not exist, or is perhaps not ordered properly?')
|
||||
log.error('Grant does not exist or may not be ordered properly. In some cases, '
|
||||
'this could also indicate a connection error. Check your configuration.')
|
||||
return False
|
||||
|
||||
target_tokens = None
|
||||
|
|
Loading…
Add table
Reference in a new issue