execjs icon indicating copy to clipboard operation
execjs copied to clipboard

Runtime stderr is missing from ruby error message

Open isaacbowen opened this issue 1 year ago • 0 comments

5cce03a removed stderr capture from ExternalRuntime. In the event of a runtime error, this means that the error message no longer contains error/trace info from runtime.

Terrible, terrible workaround:

ExecJS.runtime.instance_variable_get(:@popen_options).merge!({ err: [:child, :out] })

:)

isaacbowen avatar Sep 26 '24 19:09 isaacbowen