Merge pull request #22560 from eileenmcnaughton/fin_type
[civicrm-core.git] / CRM / Queue / Runner.php
index bac1f8e4495ce5f1aa6f337aa0ccb542f5254f78..e2a585a3c328c64a473c3ddfa1ceddf490444a73 100644 (file)
@@ -152,7 +152,6 @@ class CRM_Queue_Runner {
       // setting -- it should be more of a contextual/stack-based setting.
       // This should be appropriate because queue-runners are not used with
       // basic web pages -- they're used with CLI/REST/AJAX.
-      $errorScope = CRM_Core_TemporaryErrorScope::useException();
       $taskResult = $this->runNext();
       $errorScope = NULL;
     }
@@ -303,7 +302,7 @@ class CRM_Queue_Runner {
    *
    * @param bool $isOK
    *   TRUE if the task completed successfully.
-   * @param Exception|NULL $exception
+   * @param Exception|null $exception
    *   If applicable, an unhandled exception that arose during execution.
    *
    * @return array