Add critical log message for None Backup path

This commit is contained in:
Andrew 2022-04-12 19:27:18 -04:00
parent 73b3571606
commit e555274409

View File

@ -763,6 +763,7 @@ class Server:
def backup_server(self): def backup_server(self):
if self.settings["backup_path"] == "": if self.settings["backup_path"] == "":
logger.critical("Backup path is None. Canceling Backup!")
return return
backup_thread = threading.Thread( backup_thread = threading.Thread(
target=self.a_backup_server, daemon=True, name=f"backup_{self.name}" target=self.a_backup_server, daemon=True, name=f"backup_{self.name}"