From f0afcfbc237f6fb52b3a082b15430ebbe0de674b Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Fri, 14 Jun 2024 18:29:36 -0400 Subject: [PATCH] Fix check for directory existing --- app/classes/shared/helpers.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index 55a588fc..52f22b66 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -1006,6 +1006,11 @@ class Helpers: except PermissionError as e: logger.critical(f"Check generated exception due to permssion error: {e}") return False + except FileNotFoundError as e: + logger.critical( + f"Check generated exception due to file does not exist error: {e}" + ) + return False def create_self_signed_cert(self, cert_dir=None): if cert_dir is None: