moar debug
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
90a00f93d1
commit
6f1f4d0750
|
@ -262,6 +262,12 @@ func TwitchAdminHandler(response http.ResponseWriter, request *http.Request) {
|
||||||
response.Header().Add("Content-type", "text/plain")
|
response.Header().Add("Content-type", "text/plain")
|
||||||
fmt.Fprint(response, "ERROR: Twitch returned not 1 user for the request!\n---\n")
|
fmt.Fprint(response, "ERROR: Twitch returned not 1 user for the request!\n---\n")
|
||||||
fmt.Fprint(response, usersObject.Data)
|
fmt.Fprint(response, usersObject.Data)
|
||||||
|
fmt.Fprint(response, "\n---\n")
|
||||||
|
fmt.Fprint(response, body)
|
||||||
|
fmt.Fprint(response, "\n---\n")
|
||||||
|
fmt.Fprint(response, usersResponse)
|
||||||
|
fmt.Fprint(response, "\n---\n")
|
||||||
|
fmt.Fprint(response, usersObject)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue