-
-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Description
I have a hook which will set context.result from an error hook. This works when called by an internal server call but does not work when called by an external client request.
I have created the following repo that reproduces the issue here - https://github.com/Mattchewone/feathers-buzzard-error-hooks
If you run the mocha tests in VSCode you can see that the service call sets the context.result and the response is correct, but with the client calls the context.result is set but the request still returns the error.
Not sure what context.returnHook does internally but this is false for a server call, but true for a client call.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels