ActionScheduler_Logger::log_failed_schedule_next_instancepublicWC 1.0

Log the failure of scheduling the action's next instance.

Method of the class: ActionScheduler_Logger{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ActionScheduler_Logger = new ActionScheduler_Logger();
$ActionScheduler_Logger->log_failed_schedule_next_instance( $action_id, $exception );
$action_id(int) (required)
Action ID.
$exception(Exception) (required)
Exception object.

ActionScheduler_Logger::log_failed_schedule_next_instance() code WC 10.8.1

public function log_failed_schedule_next_instance( $action_id, Exception $exception ) {
	/* translators: %s: exception message */
	$this->log( $action_id, sprintf( __( 'There was a failure scheduling the next instance of this action: %s', 'woocommerce' ), $exception->getMessage() ) );
}