mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 17:29:00 +08:00
make sure the error will be recorded. (#672)
### What problem does this PR solve? ### Type of change - [x] Refactoring
This commit is contained in:
parent
48607c3cfb
commit
c28f7b5d38
@ -254,8 +254,8 @@ def main():
|
||||
try:
|
||||
embd_mdl = LLMBundle(r["tenant_id"], LLMType.EMBEDDING, llm_name=r["embd_id"], lang=r["language"])
|
||||
except Exception as e:
|
||||
traceback.print_stack(e)
|
||||
callback(prog=-1, msg=str(e))
|
||||
callback(-1, msg=str(e))
|
||||
cron_logger.error(str(e))
|
||||
continue
|
||||
|
||||
st = timer()
|
||||
|
Loading…
x
Reference in New Issue
Block a user