Closed KuznetsovRoman closed 4 weeks ago
As JSON.stringify of Error is {}, it is not the best thing to use, as well as String(Error), which does not include "stack"
JSON.stringify
Error
{}
String(Error)
util.inspect solves the problem.
util.inspect
As
JSON.stringify
ofError
is{}
, it is not the best thing to use, as well asString(Error)
, which does not include "stack"util.inspect
solves the problem.