From: Jeff Lenk Date: Thu, 31 Mar 2011 17:10:02 +0000 (-0500) Subject: FS-3210 remove unneeded log message already logged in docall X-Git-Tag: v1.2-rc1~120^2~5^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c83420bfc3ca057ed10f86bfefbeb0d4257a5c;p=thirdparty%2Ffreeswitch.git FS-3210 remove unneeded log message already logged in docall --- 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);