Log when we fail to get key password from secure cmd

Change-Id: I4455f43e43b772e785ece48721dcd770f0bc8711
This commit is contained in:
LuK1337 2022-12-04 02:07:46 +01:00
parent 7073f5a18b
commit 7b29cecb07
No known key found for this signature in database

View file

@ -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