Allow traveral of non-secure notes

This commit is contained in:
Ryan Kraay 2021-10-15 21:12:40 +02:00
parent cfb64067db
commit dc98877938

View file

@ -137,6 +137,9 @@ def add_ssh_keys(session, items, keyname):
except IndexError: except IndexError:
logging.warning('No "%s" field found for item %s', keyname, item['name']) logging.warning('No "%s" field found for item %s', keyname, item['name'])
continue continue
except KeyError as e:
logging.debug('No key "%s" found in item %s - skipping', e.args[0], item['name'])
continue
logging.debug('Private key file declared') logging.debug('Private key file declared')
try: try: