mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
make default error messages better
This commit is contained in:
parent
06d7674642
commit
d4fb87dd94
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module V8
|
|||
end
|
||||
class JavascriptError < StandardError
|
||||
def initialize(v8_message)
|
||||
super(v8_message.Get())
|
||||
super("#{v8_message.Get()}: #{v8_message.GetSourceLine()}")
|
||||
@native = v8_message
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue