fix(stability): 補強 scheduler 例外記錄
All checks were successful
CD Pipeline / deploy (push) Successful in 1m36s

This commit is contained in:
OoO
2026-04-30 10:28:37 +08:00
parent 18b0fa8af2
commit e73cd6e6a3
9 changed files with 86 additions and 34 deletions

4
app.py
View File

@@ -95,8 +95,8 @@ except Exception as e:
sys_log.error(f"無法檢測磁碟空間: {e}")
# 🚩 系統版本定義 (備份與顯示用)
# 🚩 2026-04-30 V10.17: Ollama embedding /api/embed hardening
SYSTEM_VERSION = "V10.17"
# 🚩 2026-04-30 V10.18: Scheduler exception logging hardening
SYSTEM_VERSION = "V10.18"
# ==========================================
# 🔒 SQL Injection 防護函數