Skip to content

VM Service incorrectly wraps compileExpression error responses from external clients #59603

@bkonyi

Description

@bkonyi

When an external client providing a compileExpression service returns an error in response to a request, it should return an RPC error along the lines of {'error': { 'code': 113, 'message': 'Expression compilation error', 'details': '$cfeErrorOutput'}}. However, the VM Service (DDS does not have this problem) will return as the response to the expression evaluation request: {'error': { 'code': 113, 'message': 'Expression compilation error', 'details': '{'error': { 'code': 113, 'message': 'Expression compilation error', 'details': '$cfeErrorOutput'}}'}}.

The VM service should just directly return the expression compilation error from the external expression compilation service instead of wrapping its response.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamvm-serviceThe VM Service Protocol, both the specification and its implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions