From 62ba92a0eddc39d173d6d7ea3d3ad69d203ea85e Mon Sep 17 00:00:00 2001 From: yfprojects <62463991+real-yfprojects@users.noreply.github.com> Date: Sat, 27 Aug 2022 19:51:31 +0000 Subject: [PATCH] Log the error when parsing a file in `~/.ssh` fails. (#1410) This should help debugging #1304. Co-authored-by: real-yfprojects Co-authored-by: Manu <3916435+m3nu@users.noreply.github.com> --- src/vorta/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vorta/utils.py b/src/vorta/utils.py index 40624efc..15ca35a2 100644 --- a/src/vorta/utils.py +++ b/src/vorta/utils.py @@ -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: