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?