Log error while in plugin appdomain for better stack traces.

This commit is contained in:
Michael Giagnocavo committed 2011-11-02 08:56:49 -06:00
1 parent 00de8e62ec
commit c459818bf9
1 file changed
+3
@@ -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();
}