mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-11 20:40:40 +00:00
fix: server logging
Summary: Test Plan:
This commit is contained in:
parent
d045b8830f
commit
5b37b14f51
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ def create_dynamic_typed_route(func: Any, method: str, route: str):
|
||||||
value = func(**kwargs)
|
value = func(**kwargs)
|
||||||
return await maybe_await(value)
|
return await maybe_await(value)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception("Error executing endpoint %s", method, route)
|
logger.exception(f"Error executing endpoint {route=} {method=}")
|
||||||
raise translate_exception(e) from e
|
raise translate_exception(e) from e
|
||||||
|
|
||||||
sig = inspect.signature(func)
|
sig = inspect.signature(func)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue