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

"[object Error]" as a result of ''+err is not very helpful

This commit is contained in:
igor 2011-05-15 05:18:08 -07:00
parent 48d6187097
commit 2610ca9066

View file

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