Generate Custom Client error #171
Reference in New Issue
Block a user
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?
What means this error in browser?
{"error": "Something went wrong"}
This error means that the Github response code is not 204.
I also had this error in browser until I changed in
./rdgenerator/views.pyline number 247if response.status_code == 204:to
if response.status_code == 204 or response.status_code == 200:After this change, everything worked fine for me.
if 200 <= response.status_code < 300:
Thanks for the reply!
I looked at the source (
./rdgenerator/views.py) in this repository, and in your public one, there's only line 247, which handles only the 204 response code.Perhaps your private repository or your computer contains the version shown in the screenshot ;-) .
Regards, SuperXL.