[Bugfix] Ensure LoRA path from the request can be included in err msg (#13450)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
Yuan Tang
2025-02-18 03:19:15 -05:00
committed by GitHub
parent b53d79983c
commit e2603fefb8

View File

@ -133,7 +133,7 @@ class WorkerLoRAManager(AbstractWorkerManager):
# For NotFoundError
raise ValueError(
f"Loading lora {lora_request.lora_name} failed: No adapter "
f"found for {lora_path}") from e
f"found for {lora_request.lora_path}") from e
except Exception as e:
# For BadRequestError
raise e