mirror of
https://github.com/owncast/owncast.git
synced 2025-01-30 20:13:53 +03:00
Pass back actual error payload
This commit is contained in:
parent
c841e4d32d
commit
26eebf47d5
1 changed files with 1 additions and 1 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue