dev: add more info for logging
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
532a654c9f
commit
d6747cd8ce
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue