Thu, 03 Dec 2009 14:13:09 +0000
mod_proxy65: Replace error() calls with module:log("error", ...)
plugins/mod_proxy65.lua | file | annotate | diff | comparison | revisions |
--- 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');