Log when we fail to get key password from secure cmd
Change-Id: I4455f43e43b772e785ece48721dcd770f0bc8711
This commit is contained in:
parent
7073f5a18b
commit
7b29cecb07
1 changed files with 2 additions and 0 deletions
|
|
@ -2901,6 +2901,8 @@ class PasswordManager(object):
|
|||
output = ps.communicate()[0]
|
||||
if ps.returncode == 0:
|
||||
current[i] = output.decode('utf-8')
|
||||
else:
|
||||
logger.warning('Failed to get password for key "%s".', i)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue