# HG changeset patch # User Matthew Wild # Date 1259849589 0 # Node ID 7ddd0026080814db8f156580a6edac29c540e65c # Parent 26f59e5e5c030864a9d95206a6604dc7f71fdc6b mod_proxy65: Replace error() calls with module:log("error", ...) diff -r 26f59e5e5c03 -r 7ddd00260808 plugins/mod_proxy65.lua --- 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');