It boils down to sending some sort of notification so first responders know about the issue ASAP
You can do it at the OS level:
on a windows OS for example:
you use EventViewer and assign a task to specific type of log captured by the OS
this task can then invoke a small app that sends emails if an error-log occurs or something like that
Application specific issue:
you can manually capture exceptions raised within the app and send notifications
there are many clever ways to do this and not hinder performance, and also not pollute your code-base with exception handling
you can spawn "fire and forget threads" that send notifications ...
let me know if need more ideas here
Integration tests:
given that you've built a strong suite of integration-tests covering all the functionality on your app
you can have have your integration tests run every 15min or so and send notifications if tests fail
You can also use monitoring tools. I know Azure offers ways to help with this.
Reach out if want more ideas or more specific solutions
You can do it at the OS level: on a windows OS for example: you use EventViewer and assign a task to specific type of log captured by the OS this task can then invoke a small app that sends emails if an error-log occurs or something like that
You can also use monitoring tools. I know Azure offers ways to help with this. Reach out if want more ideas or more specific solutions