mod_cloud_notify/mod_cloud_notify.lua
changeset 2261 f84b51f9aa82
parent 2259 cdfc917a8cc7
child 2262 3abc51faf945
--- 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