Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 7b29cecb authored by LuK1337's avatar LuK1337
Browse files

Log when we fail to get key password from secure cmd

Change-Id: I4455f43e43b772e785ece48721dcd770f0bc8711
parent 7073f5a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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