mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
Handle expired Keycloak session with user-friendly error message (#12168)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -50,3 +50,9 @@ class LLMAuthenticationError(ValueError):
|
||||
"""Raised when there is an issue with LLM authentication."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class SessionExpiredError(ValueError):
|
||||
"""Raised when the user's authentication session has expired."""
|
||||
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user