Closed dickeylth closed 2 years ago
The err may be an object and the error message would print as nodejs.Error: non-error thrown: [object Object] which is not helpful, try to stringify it.
err
nodejs.Error: non-error thrown: [object Object]
@dickeylth Look good, can you add a unittest for this change?
4.2.0
The
err
may be an object and the error message would print asnodejs.Error: non-error thrown: [object Object]
which is not helpful, try to stringify it.