Commit 172725d1 authored by Philipp Hörist's avatar Philipp Hörist

Passwords: Improve log message in case of deletion error

Fixes #9865
parent 06700c96
......@@ -81,9 +81,11 @@ class SecretPasswordStorage(PasswordStorage):
log.info('Remove password from keyring')
try:
return self.keyring.delete_password('gajim', account_name)
except keyring.errors.PasswordDeleteError as error:
log.warning('Removing password failed: %s', error)
except Exception:
log.exception('Remove password failed')
return
log.exception('Removing password failed')
class PasswordStorageManager(PasswordStorage):
"""Access all the implemented password storage backends, knowing which ones
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment