From e5552744091f67823b8d1ebdeb4988aec7081dbc Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 12 Apr 2022 19:27:18 -0400 Subject: [PATCH] Add critical log message for None Backup path --- app/classes/shared/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 7125f423..a2cca09e 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -763,6 +763,7 @@ class Server: def backup_server(self): if self.settings["backup_path"] == "": + logger.critical("Backup path is None. Canceling Backup!") return backup_thread = threading.Thread( target=self.a_backup_server, daemon=True, name=f"backup_{self.name}"