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

Update a warning message in dispatcher #1269

Merged
merged 2 commits into from Aug 16, 2023
Merged

Update a warning message in dispatcher #1269

merged 2 commits into from Aug 16, 2023

Conversation

JrooTJunior
Copy link
Member

Description

Enhanced the warning message in aiogram/dispatcher/dispatcher.py to include a JSON dump of the update. This change helps to give clearer and more detailed information on why an update type is unknown by including the specifics of what the update contains.

Enhanced the warning message in aiogram/dispatcher/dispatcher.py to include a JSON dump of the update. This change helps to give clearer and more detailed information on why an update type is unknown by including the specifics of what the update contains.
@JrooTJunior JrooTJunior added enhancement Make it better! 3.x Issue or PR for stable 3.x version labels Aug 16, 2023
@github-actions
Copy link

github-actions bot commented Aug 16, 2023

✔️ Changelog found.

Thank you for adding a description of the changes

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #1269 (b31e858) into dev-3.x (2093b45) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1269   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          364       364           
  Lines         9313      9313           
=========================================
  Hits          9313      9313           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
aiogram/dispatcher/dispatcher.py 100.00% <ø> (ø)

@JrooTJunior JrooTJunior merged commit d0d0ff1 into dev-3.x Aug 16, 2023
22 checks passed
@JrooTJunior JrooTJunior deleted the unknown-update branch August 26, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version enhancement Make it better!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant