X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FActivity.php;h=67b01d965f609c24abd17c1a731238d353b00f89;hb=6a8366ea7767bc0bb2009e6113f7125167d0fc6f;hp=576b8771905d2c775c45a8277a523a1cadaeb7ed;hpb=3d04355de56e2293afda299bc4e00d5816010082;p=civicrm-core.git diff --git a/api/v3/Activity.php b/api/v3/Activity.php index 576b877190..67b01d965f 100644 --- a/api/v3/Activity.php +++ b/api/v3/Activity.php @@ -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']); } }