]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3210 remove unneeded log message already logged in docall
authorJeff Lenk <jeff@jefflenk.com>
Thu, 31 Mar 2011 17:10:02 +0000 (12:10 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 31 Mar 2011 17:10:02 +0000 (12:10 -0500)
src/mod/languages/mod_lua/freeswitch_lua.cpp

index c3a63f5396ef5d64654828509b70e0a0637c3867..7bc3d50b8a37e218a80a53ed565024b89e8bfe65 100644 (file)
@@ -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);