From bd99de3dd0a643f49e5abe194401b405f586916f Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Tue, 4 Apr 2023 23:38:47 -0400 Subject: [PATCH] fix(ftp): update error to fail --- cme/protocols/ftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cme/protocols/ftp.py b/cme/protocols/ftp.py index f4ec9a1e..21777d43 100644 --- a/cme/protocols/ftp.py +++ b/cme/protocols/ftp.py @@ -78,7 +78,7 @@ class ftp(connection): return True self.conn.close() except Exception as e: - self.logger.error(u'{}:{} (Response:{})'.format( + self.logger.fail(u'{}:{} (Response:{})'.format( username, password if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8, e