mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[-] log_error -> synchronous
This commit is contained in:
parent
a935792c24
commit
8b90dc2c3d
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user