From 388104008638cda840156de3e6febc480f759ce4 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 17 Oct 2024 12:53:51 +0300 Subject: [PATCH] fix(app): use debug() for label error (#333) --- projects/fal/src/fal/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/fal/src/fal/app.py b/projects/fal/src/fal/app.py index bba341dc..81e1ca79 100644 --- a/projects/fal/src/fal/app.py +++ b/projects/fal/src/fal/app.py @@ -79,7 +79,7 @@ async def _set_logger_labels( code = await res.code() assert str(code) == "StatusCode.OK" except BaseException: - logger.exception("Failed to set logger labels") + logger.debug("Failed to set logger labels", exc_info=True) def wrap_app(cls: type[App], **kwargs) -> fal.api.IsolatedFunction: