This commit is contained in:
unknown 2025-09-27 01:17:26 +03:00
parent ed44269974
commit 2f422edd31
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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"