Skip item when it cannot be exported for any reason and warn user about it instead of failing export
Fixes #5
This commit is contained in:
parent
dc5ffdf00b
commit
8e485b1844
@ -61,7 +61,9 @@ def bitwarden_to_keepass(args):
|
|||||||
if 'already exists' in str(e):
|
if 'already exists' in str(e):
|
||||||
is_duplicate_title = True
|
is_duplicate_title = True
|
||||||
continue
|
continue
|
||||||
raise e
|
|
||||||
|
logging.warning(f'Skipping item named "{item["name"]}" because of this error: {repr(e)}')
|
||||||
|
break
|
||||||
|
|
||||||
totp_secret, totp_settings = bw_item.get_totp()
|
totp_secret, totp_settings = bw_item.get_totp()
|
||||||
if totp_secret and totp_settings:
|
if totp_secret and totp_settings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user