mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Merge pull request #16 from lublushokolad/patch-1
Improve error messages from jscript runner
This commit is contained in:
commit
8d3e05f331
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@
|
|||
}
|
||||
}
|
||||
} catch (err) {
|
||||
print(JSON.stringify(['err', '' + err]));
|
||||
print(JSON.stringify(['err', err.name + ': ' + err.message]));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue