Print HTTP status and response body on failure instead of crashing with a cryptic KeyError when the Gitea API returns an error.
Print HTTP status and response body on failure instead of crashing with a cryptic KeyError when the Gitea API returns an error.