diff options
author | nolan <nolan@nolan-eee> | 2009-06-28 08:09:57 -0500 |
---|---|---|
committer | nolan <nolan@nolan-eee> | 2009-06-28 08:09:57 -0500 |
commit | f7672bd5078988da630ee66844433e5a3c2476bf (patch) | |
tree | c817c0dc084fb859e5e3d65ffddecb465bc60bde /core/componentmanager.lua | |
parent | a01f4e62493a01afa9813c2197596854b62c7b71 (diff) | |
download | prosody-f7672bd5078988da630ee66844433e5a3c2476bf.tar.gz prosody-f7672bd5078988da630ee66844433e5a3c2476bf.zip |
Log stanza if stanza.to isn't set for some component errors.
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r-- | core/componentmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index eb18fced..e375e3bd 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -75,7 +75,7 @@ function handle_stanza(origin, stanza) log("debug", "%s stanza being handled by component: %s", stanza.name, host); component(origin, stanza, hosts[host]); else - log("error", "Component manager recieved a stanza for a non-existing component: " .. stanza.attr.to); + log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or stanza)); end end |