Add logging of publish response
This commit is contained in:
parent
1f9037b3ef
commit
e62711b74a
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user