diff --git a/common_lib/utils/auth.py b/common_lib/utils/auth.py index aa57776..f0384e7 100644 --- a/common_lib/utils/auth.py +++ b/common_lib/utils/auth.py @@ -38,7 +38,8 @@ async def _fetch_current_user( "require_permissions": require_permissions }, ) - except httpx.RequestError: + except httpx.RequestError as e: + print("_fetch_current_user error", e) raise HTTPException(status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="Token service unavailable") if response.status_code != 200: diff --git a/pyproject.toml b/pyproject.toml index 76aaada..c3be7dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "common-lib" -version = "0.0.20" +version = "0.0.21" description = "Библиотека общих компонентов для микросервисов yobble" authors = [{ name = "cheykrym", email = "you@example.com" }] license = "MIT"