logging update.

This commit is contained in:
kay.one 2013-04-22 00:21:39 -07:00 committed by Keivan Beigi
commit 85fd0e1c22
3 changed files with 14 additions and 3 deletions

View file

@ -17,7 +17,12 @@ namespace NzbDrone.Core.Jobs
public override string ToString()
{
return string.Format("[{0}({1})]", JobType.Name, Options);
if (Options != null)
{
return string.Format("[{0}({1})]", JobType.Name, Options);
}
return string.Format("[{0}]", JobType.Name);
}
public enum JobSourceType