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

Слишком длинное сообщение для лога #51

Open
gregorykirillov opened this issue May 12, 2024 · 0 comments
Open

Comments

@gregorykirillov
Copy link

gregorykirillov commented May 12, 2024

Issue и фикс в либе loguru: Delgan/loguru#821 (comment)

Падает в методе __pretty_log

--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\Gregory\AppData\Local\Programs\Python\Python310\lib\site-packages\notifiers\logging.py", line 50, in emit
    self.provider.notify(raise_on_errors=True, **data)
  File "C:\Users\Gregory\AppData\Local\Programs\Python\Python310\lib\site-packages\notifiers\core.py", line 303, in notify
    data = self._process_data(**kwargs)
  File "C:\Users\Gregory\AppData\Local\Programs\Python\Python310\lib\site-packages\notifiers\core.py", line 235, in _process_data
    self._validate_data(data)
  File "C:\Users\Gregory\AppData\Local\Programs\Python\Python310\lib\site-packages\notifiers\core.py", line 208, in _validate_data
    raise BadArguments(validation_error=msg, provider=self.name, data=data)
notifiers.exceptions.BadArguments: Error with sent data: "***Длинная строка***" is too long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant