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

History panel: Do not crash when receiving invalid JSON #1415

Merged
merged 1 commit into from
Dec 1, 2020
Merged

Conversation

matthiask
Copy link
Member

Fixes #1403

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #1415 (cf01994) into master (1181f2d) will increase coverage by 0.78%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1415      +/-   ##
==========================================
+ Coverage   86.97%   87.76%   +0.78%     
==========================================
  Files          29       29              
  Lines        1574     1577       +3     
  Branches      220      220              
==========================================
+ Hits         1369     1384      +15     
+ Misses        150      142       -8     
+ Partials       55       51       -4     
Impacted Files Coverage Δ
debug_toolbar/panels/history/panel.py 95.83% <100.00%> (+6.94%) ⬆️
debug_toolbar/middleware.py 96.66% <0.00%> (+1.66%) ⬆️
debug_toolbar/toolbar.py 91.25% <0.00%> (+2.50%) ⬆️
debug_toolbar/panels/profiling.py 89.28% <0.00%> (+2.67%) ⬆️
debug_toolbar/panels/headers.py 100.00% <0.00%> (+4.54%) ⬆️
debug_toolbar/panels/templates/views.py 67.44% <0.00%> (+4.65%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1181f2d...cf01994. Read the comment docs.

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

Successfully merging this pull request may close these issues.

Request with invalid json content type fails with a JSONDecodeError when using the history panel
1 participant