Add MonIn

This commit is contained in:
2023-01-16 17:14:48 -07:00
parent 46c9d91dc9
commit a4d3a9899f
3 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,8 @@ public class ExportController : Controller
ModelState.AddModelError("Exception", ex.Message);
string errorMessage = $"Error exporting: {ex}";
_Logger.LogError(message: errorMessage);
MonIn monIn = MonIn.GetInstance();
_ = monIn.SendStatus(_AppSettings.MonASite, _AppSettings.MonAResource, "Heartbeat", State.Warning);
}
}
return View("Index", model);