LogParsedProduct
This commit is contained in:
parent
21f1bd133a
commit
33b0cfbe45
|
|
@ -79,6 +79,8 @@ func ParseLinkTY(link string,w http.ResponseWriter) {
|
|||
|
||||
product, err := linkParser.ParseLink()
|
||||
|
||||
fmt.Println(product)
|
||||
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
json.NewEncoder(w).Encode(map[string]string{
|
||||
|
|
|
|||
Loading…
Reference in New Issue