From f8d60916691382fc7e2bc146bc4b009220a71405 Mon Sep 17 00:00:00 2001 From: Christian Shum-Harden Date: Thu, 3 Oct 2024 16:25:45 -0700 Subject: [PATCH] error --- tap_sftp/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tap_sftp/client.py b/tap_sftp/client.py index 5ea05c8..2e3595f 100644 --- a/tap_sftp/client.py +++ b/tap_sftp/client.py @@ -67,13 +67,13 @@ def _attempt_connection(self): ) self.sftp = client.open_sftp() except paramiko.AuthenticationException as ex: - LOGGER.warning('AuthenticationException, please verify your credentials: %s', ex) + LOGGER.error('AuthenticationException, please verify your credentials: %s', ex) except paramiko.SSHException as ex: - LOGGER.warning('SSHException, could not establish SSH connection: %s', ex) + LOGGER.error('SSHException, could not establish SSH connection: %s', ex) except paramiko.BadHostKeyException as ex: - LOGGER.warning('BadHostKeyException, bad host key: %s', ex) + LOGGER.error('BadHostKeyException, bad host key: %s', ex) except Exception as ex: - LOGGER.warning('Exception, failed to connect or establish SFTP session: %s', ex) + LOGGER.error('Exception, failed to connect or establish SFTP session: %s', ex) finally: if client: client.close()