mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 15:57:34 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ def get_private_keys():
|
||||||
PermissionError,
|
PermissionError,
|
||||||
NotImplementedError,
|
NotImplementedError,
|
||||||
):
|
):
|
||||||
|
logger.debug(
|
||||||
|
f'Expected error parsing file in .ssh: {key} (You can safely ignore this)', exc_info=True
|
||||||
|
)
|
||||||
continue
|
continue
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if e.errno == errno.ENXIO:
|
if e.errno == errno.ENXIO:
|
||||||
|
|
Loading…
Reference in a new issue