1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Merge pull request #88 from taf2/master

Minor change to include more detail for V8 runtime exceptions
This commit is contained in:
Joshua Peek 2012-05-20 10:19:56 -07:00
commit 468f32bcbc

View file

@ -31,7 +31,7 @@ module ExecJS
if e.value["name"] == "SyntaxError"
raise RuntimeError, e.message
else
raise ProgramError, e.message
raise ProgramError, e.value.to_s
end
end
end