added exception logging to Tasks.

This commit is contained in:
kay.one 2013-07-11 23:10:34 -07:00
parent 508b087c46
commit d607b831c9
7 changed files with 39 additions and 6 deletions

View file

@ -3,6 +3,7 @@ using System.Linq;
using System.Threading.Tasks;
using NLog;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Common.TPL;
namespace NzbDrone.Core.Indexers
{
@ -54,7 +55,7 @@ namespace NzbDrone.Core.Indexers
{
result.AddRange(indexerFeed);
}
});
}).LogExceptions();
taskList.Add(task);
}