diff --git a/logical/plugin/backend_client.go b/logical/plugin/backend_client.go index cc2d83bcfb5e..c3b53afd8b16 100644 --- a/logical/plugin/backend_client.go +++ b/logical/plugin/backend_client.go @@ -117,7 +117,8 @@ func (b *backendPluginClient) HandleRequest(req *logical.Request) (*logical.Resp if reply.Error.Error() == logical.ErrUnsupportedOperation.Error() { return nil, logical.ErrUnsupportedOperation } - return nil, reply.Error + + return reply.Response, reply.Error } return reply.Response, nil