[-] log_error -> synchronous

This commit is contained in:
Charles Le Maux 2024-09-12 14:10:14 +02:00
parent a935792c24
commit 8b90dc2c3d

View File

@ -64,7 +64,7 @@ def update_server_property(file_path, property_name, new_value):
file.writelines(content)
async def log_error(error_type: str, error_message: str):
def log_error(error_type: str, error_message: str):
logging.basicConfig(filename='logs.txt', level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s',
datefmt='%Y-%m-%d %H:%M:%S')