mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-11 10:45:05 +00:00
refactor: Tidying
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user