mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 17:15:13 +01:00
Merge branch 'refactor/backups' into refactor/upload-api
This commit is contained in:
commit
60bf9a7914
@ -1005,6 +1005,11 @@ class Helpers:
|
|||||||
except PermissionError as e:
|
except PermissionError as e:
|
||||||
logger.critical(f"Check generated exception due to permssion error: {e}")
|
logger.critical(f"Check generated exception due to permssion error: {e}")
|
||||||
return False
|
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):
|
def create_self_signed_cert(self, cert_dir=None):
|
||||||
if cert_dir is None:
|
if cert_dir is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user