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