From 88c83420bfc3ca057ed10f86bfefbeb0d4257a5c Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Thu, 31 Mar 2011 12:10:02 -0500 Subject: [PATCH] FS-3210 remove unneeded log message already logged in docall --- src/mod/languages/mod_lua/freeswitch_lua.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mod/languages/mod_lua/freeswitch_lua.cpp b/src/mod/languages/mod_lua/freeswitch_lua.cpp index c3a63f5396..7bc3d50b8a 100644 --- a/src/mod/languages/mod_lua/freeswitch_lua.cpp +++ b/src/mod/languages/mod_lua/freeswitch_lua.cpp @@ -142,11 +142,6 @@ void Session::do_hangup_hook() } docall(L, arg_count, 1, 1); - err = lua_tostring(L, -1); - - if (!zstr(err)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s\n", err); - } if (channel) { switch_channel_set_private(channel, "CoreSession", NULL);