Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
·
35eae3e
1
Parent(s):
075af46
fix: 修正logging.error参数错误导致的TypeError
Browse files- modules/index_func.py +1 -1
modules/index_func.py
CHANGED
@@ -136,6 +136,6 @@ def construct_index(
|
|
136 |
|
137 |
except Exception as e:
|
138 |
import traceback
|
139 |
-
logging.error("
|
140 |
traceback.print_exc()
|
141 |
return None
|
|
|
136 |
|
137 |
except Exception as e:
|
138 |
import traceback
|
139 |
+
logging.error("索引构建失败!%s", e)
|
140 |
traceback.print_exc()
|
141 |
return None
|