gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

fix: use propper unhandled rejection error serialization #999

Closed KuznetsovRoman closed 4 weeks ago

KuznetsovRoman commented 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"

util.inspect solves the problem.