fix: server logging

Summary:

Test Plan:
This commit is contained in:
Eric Huang 2025-03-10 10:52:29 -07:00
parent d045b8830f
commit 5b37b14f51

View file

@ -236,7 +236,7 @@ def create_dynamic_typed_route(func: Any, method: str, route: str):
value = func(**kwargs)
return await maybe_await(value)
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
sig = inspect.signature(func)