diff --git a/src/Topshelf/Configuration/HostConfigurators/HostConfigurator.cs b/src/Topshelf/Configuration/HostConfigurators/HostConfigurator.cs index 93d05648..c65c984e 100644 --- a/src/Topshelf/Configuration/HostConfigurators/HostConfigurator.cs +++ b/src/Topshelf/Configuration/HostConfigurators/HostConfigurator.cs @@ -118,10 +118,12 @@ public interface HostConfigurator void AddCommandLineDefinition(string name, Action callback); /// - /// Adds custom exception handler that will be called for any exception caught - /// by Topshelf while a service is starting, running or stopping. + /// Specifies a callback to be run when Topshelf encounters an exception while starting, running + /// or stopping. This callback does not replace Topshelf's default handling of any exceptions, and + /// is intended to allow for local cleanup, logging, etc. This is not required, and is only invoked + /// if a callback is provided. /// - /// + /// The action to run when an exception occurs. void OnException(Action callback); } } \ No newline at end of file