diff --git a/ICD.Common.Utils/Timers/SafeTimer.cs b/ICD.Common.Utils/Timers/SafeTimer.cs index 747c092..526c80e 100644 --- a/ICD.Common.Utils/Timers/SafeTimer.cs +++ b/ICD.Common.Utils/Timers/SafeTimer.cs @@ -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().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().AddEntry(eSeverity.Error, e, message); - } - #endregion } }