Merge pull request #12114 from jitendrapurohit/membership-2
[civicrm-core.git] / api / v3 / Activity.php
index 576b8771905d2c775c45a8277a523a1cadaeb7ed..67b01d965f609c24abd17c1a731238d353b00f89 100644 (file)
@@ -635,7 +635,7 @@ function civicrm_api3_activity_delete($params) {
     return civicrm_api3_create_success(1, $params, 'Activity', 'delete');
   }
   else {
-    throw new API_Exception('Could not delete Activity');
+    throw new API_Exception('Could not delete Activity: ' . (int) $params['id']);
   }
 }