Jake Vanderwerf
2026-09-18 a6413da67a4579866f0fd0323ddb23a7b6b9654a
inc/managers/queue/Processor.php
@@ -1,5 +1,7 @@
<?php
namespace JVBase\managers\queue;
use Throwable;
if (!defined('ABSPATH')) {
   exit;
}
@@ -62,7 +64,7 @@
         $op->result = $result->result;
         $op->completedAt = current_time('mysql');
      } catch (\Throwable $e) {
      } catch (Throwable $e) {
         error_log("[Processor] Exception caught: " . $e->getMessage());
         $this->handleFailure($op, $e);
      }
@@ -138,7 +140,7 @@
               }
            }
         } catch (\Throwable $e) {
         } catch (Throwable $e) {
            error_log("[Processor] Chunk {$index} failed: " . $e->getMessage());
            // Record failed items from this chunk
@@ -199,7 +201,7 @@
      return $chunks;
   }
   private function handleFailure(Operation $op, \Throwable $e): void
   private function handleFailure(Operation $op, Throwable $e): void
   {
      $hash = md5($e->getMessage());