Scheduler.OnError

This method is called if an error occurs during processing of the OnExecuteScheduledEvent request

        Override this method in your own implementation to provide
        for error logging or other handling of an error that occurred
        in processing.

        Ideally this shouldn't be necessary - your OnexecuteScheduledEvent
        code should handle any errors internally and provide for its own
        logging mechanism but this is here as an additional point of
        control.
public void OnError(Exception ex)

Parameters

ex
Exception occurred during item execution