Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Pass back actual error payload

Gabe Kangas1bf86bfdded3
diff --git a/auth/indieauth/client.go b/auth/indieauth/client.go
index 6e70f8c924..ac88699273 100644
--- a/auth/indieauth/client.go
+++ b/auth/indieauth/client.go
@@ -68,7 +68,7 @@ func HandleCallbackCode(code, state string) (*Request, *Response, error) {
var response Response
if err := json.Unmarshal(body, &response); err != nil {
- return nil, nil, errors.Wrap(err, "unable to parse IndieAuth response")
+ return nil, nil, errors.Wrap(err, "unable to parse IndieAuth response: "+string(body))
}
if response.Error != "" || response.ErrorDescription != "" {