diff options
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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") |
