diff --git a/http.go b/http.go index a6085b1..45a5153 100644 --- a/http.go +++ b/http.go @@ -183,6 +183,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } else { log.Info("IsPrimitive() == false") } + if me.current.Status.IsPrivate() { + log.Info("IsPrivate() == true") + } else { + log.Info("IsPrivate() == false") + } if ok, compiled, err := me.current.Status.IsProtobuf(); ok { log.Info(log.Sprint("IsProtobuf() == true compiled protobuf files = ", compiled)) if err != nil { @@ -194,7 +199,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } } else { log.Info("IsProtobuf() == false") - log.Info(log.Sprint("IsProtobuf() == err", err)) + if err != nil { + log.Info(log.Sprint("IsProtobuf() == err", err)) + } } if me.current.Status.Whitelist { log.Info("Whitelist == true SHOULD NOT RELEASE THIS")