Fix: Logout on 401 error in useGitUser; downgrade provider error to warning (#12935)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Tim O'Farrell
2026-02-23 17:15:54 +00:00
committed by GitHub
parent 0efb1db85d
commit a6c0d80fe1
3 changed files with 124 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ class ProviderHandler:
exceptions.append((provider, e))
continue
for provider, exc in exceptions:
logger.error(
logger.warning(
f'Failed to get user from provider {provider}: {exc}',
exc_info=(type(exc), exc, exc.__traceback__),
)