Software / code / prosody
Changeset
2305:7ddd00260808
mod_proxy65: Replace error() calls with module:log("error", ...)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 03 Dec 2009 14:13:09 +0000 |
| parents | 2304:26f59e5e5c03 |
| children | 2306:21f0d80f244a |
| files | plugins/mod_proxy65.lua |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua Thu Dec 03 14:08:54 2009 +0000 +++ b/plugins/mod_proxy65.lua Thu Dec 03 14:13:09 2009 +0000 @@ -247,8 +247,8 @@ end if not connlisteners.register(module.host .. ':proxy65', connlistener) then - error("mod_proxy65: Could not establish a connection listener. Check your configuration please."); - error(" one possible cause for this would be that two proxy65 components share the same port."); + module:log("error", "mod_proxy65: Could not establish a connection listener. Check your configuration please."); + module:log("error", "Possibly two proxy65 components are configured to share the same port."); end connlisteners.start(module.host .. ':proxy65');