fixed some issues here and there.

This commit is contained in:
kay.one 2013-05-10 22:59:42 -07:00
commit 85cd877b0c
12 changed files with 66 additions and 20 deletions

View file

@ -35,6 +35,8 @@ namespace NzbDrone.Core.Jobs
{
var tasks = _taskManager.GetPending();
_logger.Trace("Pending Tasks: {0}", tasks.Count);
foreach (var task in tasks)
{
try
@ -46,7 +48,7 @@ namespace NzbDrone.Core.Jobs
}
catch (Exception e)
{
_logger.ErrorException("Error occured while execution task " + task.TypeName, e);
_logger.ErrorException("Error occurred while execution task " + task.TypeName, e);
}
finally
{