fix(ftp): update error to fail

main
Marshall Hallenbeck 2023-04-04 23:38:47 -04:00
parent 93f74294de
commit bd99de3dd0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class ftp(connection):
return True return True
self.conn.close() self.conn.close()
except Exception as e: except Exception as e:
self.logger.error(u'{}:{} (Response:{})'.format( self.logger.fail(u'{}:{} (Response:{})'.format(
username, username,
password if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8, password if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8,
e e