VM Service incorrectly wraps compileExpression
error responses from external clients
#59603
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P2
A bug or feature request we're likely to work on
triaged
Issue has been triaged by sub team
vm-service
The VM Service Protocol, both the specification and its implementation
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.
The text was updated successfully, but these errors were encountered: