ELMAH
Log error from async Task
Task.Factory.StartNew(() =>
{
try
{
...
}
catch (Exception ex)
{
ErrorLog.GetDefault(null).Log(new Error(ex));
}
});
Task.Factory.StartNew(() =>
{
try
{
...
}
catch (Exception ex)
{
ErrorLog.GetDefault(null).Log(new Error(ex));
}
});