moar debug
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2020-06-30 19:41:12 +02:00
parent 90a00f93d1
commit 6f1f4d0750
1 changed files with 6 additions and 0 deletions

View File

@ -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
} }