{"issue":{"created_at":"2011-11-30T04:25:59Z","state":"open","updated_at":"2011-11-30T04:27:51Z","comments":1,"user":{"gravatar_id":"0890fd6e4956a3600f6b33eb76de9af0","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","login":"lyxsus"},"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.","assignee":null,"id":2397362,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":66,"title":"Can't get error details from exception","closed_at":null,"html_url":"https://github.com/beamjs/erlv8/issues/66","url":"https://api.github.com/repos/beamjs/erlv8/issues/66","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T04:27:51Z","updated_at":"2011-11-30T04:27:51Z","user":{"gravatar_id":"ae2b294e24fd2e472bfca45ab19050c5","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","login":"yrashk"},"body":"Will look into this next week or sooner (about to take off for a\r\ntrip). Make sure everything is compiled from scratch.\r\n\r\nOn Tue, Nov 29, 2011 at 8:26 PM, lyxsus\r\n<reply@reply.github.com>\r\nwrote:\r\n> Following wiki instruction gives me empty list, when detailed exception info is expected:\r\n>\r\n> Example:\r\n>\r\n> 1> {ok, VM} = erlv8_vm:start().\r\n> {ok,<0.548.0>}\r\n> 2> erlv8_vm:run(VM,\"f = function (x) { return x * 10 }; f(10)\").\r\n> {ok,100}\r\n> 3> {Resolution, Value} = erlv8_vm:run(VM,\"f = function (x) { return x * 10 }; f(10\").\r\n> {throw,{erlv8_object,<<>>,<0.548.0>}}\r\n> 4> Value:proplist().\r\n> []\r\n>\r\n>\r\n> Instead of:\r\n>\r\n> …\r\n> 4> 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\n> Maybe, I should recompile v8? It's macos builded as rebar dep.\r\n>\r\n> ---\r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/beamjs/erlv8/issues/66","id":2954919,"url":"https://api.github.com/repos/beamjs/erlv8/issues/comments/2954919"}}