-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix: fix JSONDEcodeError exception #200
Conversation
When trying to delete a folder, the exception raised is not `json.JSONDEcodeError` but `requests.exceptions.JSONDECodeError`
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #200 +/- ##
=======================================
Coverage 92.29% 92.29%
=======================================
Files 27 27
Lines 1816 1816
=======================================
Hits 1676 1676
Misses 140 140
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi. Thanks for the patch. Do you have any idea why CI fails on one of the PyPy runs? Edit: Fixed by re-running, so it apparently just was a hiccup. Thanks! |
Thanks @amotl for merging! Can we create a tag please? |
Absolutely, I will run a release right away. |
Version 4.2.1 has been released. Thanks again. |
Thank you @etiennevincent, and sorry for not spotting this issue right away. |
Do you think those errors on the CI job of a downstream project could be related? They suddenly started happening, while there haven't been any problems before. NB: In order not to expand the conversation on this PR about a different topic, please respond on the issue above, if you have anything to contribute to resolve this problem. Thank you! |
Nevermind, this patch fixes it. Sorry for the noise. |
Description
When trying to delete a folder, the exception raised is not
json.JSONDEcodeError
butrequests.exceptions.JSONDECodeError
.Checklist