1
0
Fork 0
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:
Joshua Peek 2011-05-15 08:25:59 -07:00
commit 8d3e05f331

View file

@ -16,6 +16,6 @@
}
}
} catch (err) {
print(JSON.stringify(['err', '' + err]));
print(JSON.stringify(['err', err.name + ': ' + err.message]));
}
});