Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-10-12-16-00-15
[civicrm-core.git] / CRM / Queue / Runner.php
index d6cf91a05ba1453a88ca921932bf4ebeb22ea9fa..de1cdbe96b180984a284675bd55c96f677f42eaf 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -210,6 +210,7 @@ class CRM_Queue_Runner {
 
       $exception = NULL;
       try {
+        CRM_Core_Error::debug_log_message("Running task: " . $this->lastTaskTitle);
         $isOK = $item->data->run($this->getTaskContext());
         if (!$isOK) {
           $exception = new Exception('Task returned false');