feat(trace): pretty print trace errors to logs (#9367)
### Description
To help debug trace, pretty print the errors to stderr by default.
Includes fancy error messages either via SWC or our own miette
infrastructure
### Testing Instructions
Try using trace and hit an error