More debug pls
continuous-integration/drone/push Build is passing Details

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2020-06-30 17:30:34 +02:00
parent f574863601
commit 90a00f93d1
1 changed files with 2 additions and 1 deletions

View File

@ -260,7 +260,8 @@ func TwitchAdminHandler(response http.ResponseWriter, request *http.Request) {
if len(usersObject.Data) != 1 { if len(usersObject.Data) != 1 {
response.WriteHeader(500) response.WriteHeader(500)
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!") fmt.Fprint(response, "ERROR: Twitch returned not 1 user for the request!\n---\n")
fmt.Fprint(response, usersObject.Data)
return return
} }