Display error message for activity processing
authorColeman Watts <coleman@civicrm.org>
Wed, 22 Feb 2017 23:30:44 +0000 (16:30 -0700)
committerColeman Watts <coleman@civicrm.org>
Wed, 22 Feb 2017 23:30:44 +0000 (16:30 -0700)
api/v3/Job.php

index 381ce176653deb8b6fe26be63f15ed4ae80104ca..0b33d159d92f98b98374012d6084f1416dbce4f6 100644 (file)
@@ -390,7 +390,7 @@ function civicrm_api3_job_fetch_activities($params) {
   }
   catch (Exception $e) {
     $lock->release();
-    return civicrm_api3_create_error('Process Activities failed');
+    return civicrm_api3_create_error($e->getMessage());
   }
 }