# HG changeset patch # User Kim Alvefur # Date 1469702055 -7200 # Node ID f84b51f9aa82c4dde3f2867d36146888d8f39d39 # Parent c5c583fae25d4fd3bac1a3a984bf6eab3d52c18b mod_cloud_notify: Log message when 'jid' is missing from enable request diff -r c5c583fae25d -r f84b51f9aa82 mod_cloud_notify/mod_cloud_notify.lua --- a/mod_cloud_notify/mod_cloud_notify.lua Thu Jul 28 12:14:33 2016 +0200 +++ b/mod_cloud_notify/mod_cloud_notify.lua Thu Jul 28 12:34:15 2016 +0200 @@ -33,6 +33,7 @@ -- SHOULD contain a 'node' attribute local push_node = enable.attr.node; if not push_jid then + origin.log("debug", "Push notification enable request missing the 'jid' field"); origin.send(st.error_reply(stanza, "modify", "bad-request", "Missing jid")); return true; end