mirror of https://github.com/borgbase/vorta
Log the error when parsing a file in `~/.ssh` fails. (#1410)
This should help debugging #1304. Co-authored-by: real-yfprojects <real-yfprojects@users.noreply.github.com> Co-authored-by: Manu <3916435+m3nu@users.noreply.github.com>
This commit is contained in:
parent
4e06b6df5a
commit
62ba92a0ed
|
@ -209,6 +209,9 @@ def get_private_keys():
|
|||
PermissionError,
|
||||
NotImplementedError,
|
||||
):
|
||||
logger.debug(
|
||||
f'Expected error parsing file in .ssh: {key} (You can safely ignore this)', exc_info=True
|
||||
)
|
||||
continue
|
||||
except OSError as e:
|
||||
if e.errno == errno.ENXIO:
|
||||
|
|
Loading…
Reference in New Issue