Skip to content
Snippets Groups Projects
Commit 857b8c23 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Log a message when a health report is being sent

Relates to #20
parent 4ec13f93
No related branches found
No related tags found
No related merge requests found
......@@ -254,6 +254,7 @@ namespace ATxService
report += $"\nPrevious system health report notification was sent {elapsedHuman}.\n";
_status.LastStartupNotification = DateTime.Now;
Log.Debug("Sending system health report, previous one was sent {0}", elapsedHuman);
return SendEmail(_config.HealthReportEmailAddress, "system health report", report);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment