[BUG] Error field of simulator output is an empty object #292
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Kind of proposals
Describe the problem
When there is an interpreter error while handling a request in the simulator the error information is not properly marshaled to json.
VCL code that cause the problem / reproduceable
Expected behavior
Error field in simulator output should contain the actual error message.
Cause
This is happening because the simulator output struct Error field is the type
error
. The go builtinerror
type does not implementjson.Marshaler
and does not have any public fields so the resulting json output is an empty object.The text was updated successfully, but these errors were encountered: