Unbekannte Benutzer führen zu einem Fehler mit tracking id statt einer fehlermeldung #247
Labels
No Label
MVP
web-interface
bug
bugfix
cli
discussion
documentation
duplicate
expense
high
expense
low
expense
medium
expense
very-high
help wanted
improvement
invalid
priority
blocker
priority
high
priority
low
priority
medium
question
refactoring
release
story
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sh-edraft.de/sh_discord_bot#247
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
<2023-03-06 19:31:25.062674> [ ERROR ] [ bot_api.api ] [ Api ] [ Api ]: Tracking Id: ecf8c492-2b3f-4538-b9a7-8f61534f9c70
<2023-03-06 19:31:25.062895> [ ERROR ] [ bot_api.api ] [ Api ]: expected string or bytes-like object -> Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/usr/local/lib/python3.10/site-packages/asgiref/sync.py", line 240, in call
return call_result.result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/site-packages/asgiref/sync.py", line 306, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "/app/bot_api/controller/auth_discord_controller.py", line 93, in discord_login
result = await self._auth_service.login_discord_async(dto, response["id"])
File "/app/bot_api/service/auth_service.py", line 486, in login_discord_async
self.add_auth_user(user_dto)
File "/app/bot_api/service/auth_service.py", line 237, in add_auth_user
if not self._is_email_valid(user.email):
File "/app/bot_api/service/auth_service.py", line 83, in _is_email_valid
if re.fullmatch(_email_regex, email) is not None:
File "/usr/local/lib/python3.10/re.py", line 195, in fullmatch
return _compile(pattern, flags).fullmatch(string)
TypeError: expected string or bytes-like object