Files
AI_NovelGenerator/ui/helpers.py
T
2025-03-19 13:02:51 +08:00

8 lines
160 B
Python

# ui/helpers.py
# -*- coding: utf-8 -*-
import logging
import traceback
def log_error(message: str):
logging.error(f"{message}\n{traceback.format_exc()}")