Fix: refine error msg.
This commit is contained in:
parent
1c201c4d54
commit
b7fe405a28
1 changed files with 2 additions and 2 deletions
|
|
@ -895,8 +895,8 @@ async def check_embedding():
|
|||
if sim_mix > sim:
|
||||
sim = sim_mix
|
||||
mode = "title+content"
|
||||
except Exception:
|
||||
return get_error_data_result(message="embedding failure")
|
||||
except Exception as e:
|
||||
return get_error_data_result(message=f"Embedding failure: {e}")
|
||||
|
||||
eff_sims.append(sim)
|
||||
results.append({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue