From 26e77de8a1655fecf12417102a56812391d32702 Mon Sep 17 00:00:00 2001 From: Anuj-Gupta4 Date: Fri, 15 Nov 2024 15:33:10 +0545 Subject: [PATCH] small-fix: improve exception format --- src/backend/app/auth/roles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/app/auth/roles.py b/src/backend/app/auth/roles.py index 87acbc4534..28b5518535 100644 --- a/src/backend/app/auth/roles.py +++ b/src/backend/app/auth/roles.py @@ -47,8 +47,7 @@ async def get_uid(user_data: AuthUser | DbUser) -> int: except Exception as e: log.exception( - f"Failed to get user id from auth object: {user_data}. ", - f"Error: {e}", + f"Failed to get user id from auth object: {user_data}. Error: {e}", stack_info=True, ) raise HTTPException(