In the api documents,
http://cgit.drupalcode.org/services/tree/docs/services.alter.api.php?h=7...
For hook_rest_server_execute_errors_alter(&$error_alter_array, $controller, $arguments), $controller & $arguments are needed. but we can't get it in any cases.

If we want to build our own services error procedure, we need that indeed.

I create a simple patch to fix this.

Comments

zterry95 created an issue. See original summary.

zterry95’s picture

attach patch here.

andrew.mikhailov’s picture

Status: Active » Needs review
andrew.mikhailov’s picture

I've renamed this patch by standard.
Best regards.

kylebrowning’s picture

Status: Needs review » Reviewed & tested by the community
marcingy’s picture

Status: Reviewed & tested by the community » Fixed

Merged thanks

zterry95’s picture

cool.
but it's a pity that the commit author is not me.
check this.
https://www.drupal.org/node/1146430

kylebrowning’s picture

You're in the byline, it shows up on your profile, https://www.drupal.org/u/zterry95, drupal.org defaults to last patch update getting author, so macringy just copied and pasted that command.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.