Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error from Keycloak should not cause a crash but instead an error message to the room where the command was issued #8

Open
jaywink opened this issue Jul 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jaywink
Copy link
Member

jaywink commented Jul 17, 2021

  File "/app/callbacks.py", line 64, in message
    await command.process()
  File "/app/bot_commands.py", line 94, in process
    await self._users()
  File "/app/bot_commands.py", line 451, in _users
    send_password_reset(self.config, user_id)
  File "/app/users.py", line 36, in send_password_reset
    keycloak_admin.send_update_account(
  File "/usr/local/lib/python3.8/site-packages/keycloak/keycloak_admin.py", line 543, in send_update_account
    return raise_error_from_response(data_raw, KeycloakGetError)
  File "/usr/local/lib/python3.8/site-packages/keycloak/exceptions.py", line 106, in raise_error_from_response
    raise error(error_message=message,
keycloak.exceptions.KeycloakGetError: 500: b'{"error":"unknown_error"}'
@jaywink jaywink added the bug Something isn't working label Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant