{"issue":{"milestone":null,"title":"Can't get error details from exception","created_at":"2011-11-30T04:25:59Z","user":{"login":"lyxsus","id":670178,"url":"https://api.github.com/users/lyxsus","avatar_url":"https://secure.gravatar.com/avatar/0890fd6e4956a3600f6b33eb76de9af0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0890fd6e4956a3600f6b33eb76de9af0"},"labels":[],"updated_at":"2011-12-30T21:09:21Z","state":"open","id":2397362,"closed_at":null,"html_url":"https://github.com/beamjs/erlv8/issues/66","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Following wiki instruction gives me empty list, when detailed exception info is expected:\r\n\r\nExample:\r\n\r\n1> {ok, VM} = erlv8_vm:start().\r\n{ok,<0.548.0>}\r\n2> erlv8_vm:run(VM,\"f = function (x) { return x * 10 }; f(10)\").\r\n{ok,100}\r\n3> {Resolution, Value} = erlv8_vm:run(VM,\"f = function (x) { return x * 10 }; f(10\").\r\n{throw,{erlv8_object,<<>>,<0.548.0>}}\r\n4> Value:proplist().\r\n[]\r\n\r\n\r\nInstead of:\r\n\r\n…\r\n4> Value:proplist ().\r\n[{\"message\",\"Unexpected end of input\"},\r\n {\"stack\",\"SyntaxError: Unexpected end of input\"},\r\n {\"type\",\"unexpected_eos\"},\r\n {\"arguments\",[]},\r\n {\"name\",\"SyntaxError\"}]\r\n\r\nMaybe, I should recompile v8? It's macos builded as rebar dep.","number":66,"url":"https://api.github.com/repos/beamjs/erlv8/issues/66","comments":3,"assignee":null},"comment":{"created_at":"2011-12-30T21:09:21Z","user":{"login":"yrashk","id":452,"url":"https://api.github.com/users/yrashk","avatar_url":"https://secure.gravatar.com/avatar/ae2b294e24fd2e472bfca45ab19050c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ae2b294e24fd2e472bfca45ab19050c5"},"updated_at":"2011-12-30T21:09:21Z","id":3317234,"body":"@lyxsus interesting\r\n\r\n```erlang\r\n3>  {Resolution, Value} = erlv8_vm:run(VM,\"f = function (x) { return x * 10 }; f(10\").\r\n{throw,{erlv8_object,<<>>,<0.38.0>}}\r\n4> Value:proplist().\r\n[]\r\n%% but\r\n5> Value:get_value(\"message\").\r\n<<\"Unexpected end of input\">>\r\n```\r\n\r\nWill look into this. Not sure what happened.","url":"https://api.github.com/repos/beamjs/erlv8/issues/comments/3317234"},"action":"created"}