refactor: Tidying

This commit is contained in:
Chris Cameron 2018-08-13 14:58:31 -04:00
parent 09445da1e9
commit 478261e888

View file

@ -171,16 +171,11 @@ namespace ICD.Common.Utils.Timers
}
catch (Exception e)
{
LogException(e);
string message = string.Format("{0} failed to execute callback - {1}", GetType().Name, e.Message);
ServiceProvider.TryGetService<ILoggerService>().AddEntry(eSeverity.Error, e, message);
}
}
private void LogException(Exception e)
{
string message = string.Format("{0} failed to execute callback - {1}", GetType().Name, e.Message);
ServiceProvider.TryGetService<ILoggerService>().AddEntry(eSeverity.Error, e, message);
}
#endregion
}
}