dev: add more info for logging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2021-09-20 23:03:07 +02:00
parent 532a654c9f
commit d6747cd8ce
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -41,7 +41,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
resJson, err := json.Marshal(httpResposne)
if err != nil {
log.Fatal().Err(err).Msg("Check Error")
log.Fatal().Err(err).Interface("httpResponse", httpResposne).Msg("Check Error")
}
if gloableRes {
w.Write(resJson)