Commit 440b097a authored by Sonja Happ's avatar Sonja Happ
Browse files

AMQP: add more debugging output

parent 3dcab49b
......@@ -225,6 +225,8 @@ func StartAMQP(AMQPurl string, api *gin.RouterGroup) error {
func processMessage(message amqp.Delivery) {
log.Println("Processing AMQP message: ", message.Body)
var payload ICUpdate
err := json.Unmarshal(message.Body, &payload)
if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment