Diff

plugins/mod_proxy65.lua @ 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
parent 2273:b98b29f614ae
child 2306:21f0d80f244a
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');