Log error while in plugin appdomain for better stack traces.

This commit is contained in:
Michael Giagnocavo 2011-11-02 08:56:49 -06:00
parent 00de8e62ec
commit c459818bf9
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}