← All changes
|
addons/automator/includes/engine/workflow-runner.php
+5
-5
8.7.7
→
8.8.1
View file →
| @@ -307,9 +307,9 @@ | ||
| 307 | 307 | |
| 308 | 308 | self::log_execution( $workflow_id, $trigger_id, $app_id, $result ); |
| 309 | 309 | |
| 310 | 310 | if ( is_array( $result ) && isset( $result['success'] ) && ! $result['success'] ) { |
| 311 | - error_log( sprintf( 'WPbot Automator - Workflow %s: Stopping branch execution because node %s failed.', $workflow_id, $target_node_id ) ); | |
| 311 | + //error_log( sprintf( 'WPbot Automator - Workflow %s: Stopping branch execution because node %s failed.', $workflow_id, $target_node_id ) ); | |
| 312 | 312 | continue; // Stop this branch. |
| 313 | 313 | } |
| 314 | 314 | |
| 315 | 315 | $executed_nodes[] = $target_node_id; |
| @@ -417,9 +417,9 @@ | ||
| 417 | 417 | |
| 418 | 418 | self::log_execution( $workflow_id, $trigger_id, $app_id, $result ); |
| 419 | 419 | |
| 420 | 420 | if ( is_array( $result ) && isset( $result['success'] ) && ! $result['success'] ) { |
| 421 | - error_log( sprintf( 'WPbot Automator - Workflow %s: Stopping loop branch execution because node %s failed.', $workflow_id, $node_id ) ); | |
| 421 | + //error_log( sprintf( 'WPbot Automator - Workflow %s: Stopping loop branch execution because node %s failed.', $workflow_id, $node_id ) ); | |
| 422 | 422 | return; // Stop this loop iteration's branch. |
| 423 | 423 | } |
| 424 | 424 | } |
| 425 | 425 | |
| @@ -537,11 +537,11 @@ | ||
| 537 | 537 | public static function debug_dump_all_workflows() { |
| 538 | 538 | global $wpdb; |
| 539 | 539 | $table = \WPbot_Automator\Core\Database::get_workflows_table(); |
| 540 | 540 | $workflows = $wpdb->get_results( "SELECT * FROM {$table}" ); |
| 541 | - error_log( 'WPbot Automator - DEBUG DUMP ALL WORKFLOWS' ); | |
| 541 | + //error_log( 'WPbot Automator - DEBUG DUMP ALL WORKFLOWS' ); | |
| 542 | 542 | foreach ( $workflows as $workflow ) { |
| 543 | - error_log( sprintf( 'Workflow ID: %d, Name: %s, Status: %s', $workflow->id, $workflow->name, $workflow->status ) ); | |
| 544 | - error_log( 'Data: ' . $workflow->workflow_data ); | |
| 543 | + //error_log( sprintf( 'Workflow ID: %d, Name: %s, Status: %s', $workflow->id, $workflow->name, $workflow->status ) ); | |
| 544 | + //error_log( 'Data: ' . $workflow->workflow_data ); | |
| 545 | 545 | } |
| 546 | 546 | } |
| 547 | 547 | } |