Add logging of publish response

This commit is contained in:
Peter Stuifzand 2018-01-31 16:15:40 +01:00
parent 1f9037b3ef
commit e62711b74a

View File

@ -75,6 +75,8 @@ func (handler *subscriptionHandler) handlePublish(w http.ResponseWriter, r *http
continue continue
} }
log.Printf("publish: post send to %s\n", sub.Callback) log.Printf("publish: post send to %s\n", sub.Callback)
log.Println("Response:")
res.Write(os.Stdout)
} }
} }