diff --git a/http.go b/http.go index 003d3b9..37127b5 100644 --- a/http.go +++ b/http.go @@ -29,6 +29,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { var route string route = cleanURL(r.URL.Path) log.HttpMode(w) + defer log.HttpMode(nil) // common http args that can be set repoName := r.URL.Query().Get("repo") diff --git a/main.go b/main.go index e332162..8e5731e 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ func main() { me.releaseReasonS = os.Getenv("GUIRELEASE_REASON") if me.releaseReasonS == "" { - log.Info("GUIRELEASE_VERSION not set") + log.Info("shell ENV GUIRELEASE_REASON not set") os.Exit(0) }