From c459818bf93752693335a3b41c394422aaf67187 Mon Sep 17 00:00:00 2001 From: Michael Giagnocavo Date: Wed, 2 Nov 2011 08:56:49 -0600 Subject: [PATCH] Log error while in plugin appdomain for better stack traces. --- src/mod/languages/mod_managed/managed/PluginManager.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/languages/mod_managed/managed/PluginManager.cs b/src/mod/languages/mod_managed/managed/PluginManager.cs index adf78f26cc..c9e657fc6a 100644 --- a/src/mod/languages/mod_managed/managed/PluginManager.cs +++ b/src/mod/languages/mod_managed/managed/PluginManager.cs @@ -111,6 +111,9 @@ namespace FreeSWITCH { return false; } } + } catch (Exception ex) { + Log.WriteLine(LogLevel.Error, "Error in plugin execute: " + ex.ToString()); + return false; } finally { DecreaseUse(); }