155
rated 0 times
[
157]
[
2]
/ answers: 1 / hits: 37206
/ 13 Years ago, wed, april 27, 2011, 12:00:00
I'm using try catch on a node.js script:
try {} catch (err) {console.log(err)}
I get an output like this:
{
stack: [Getter/Setter],
arguments: [ 'undefined' ],
type: 'called_non_callable',
message: [Getter/Setter]
}
Is there an easy way to make this more informative? Include line numbers and function names and such?
More From » node.js