mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08: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