tslog
tslog copied to clipboard
Bug: Error logging with [email protected] has issues
Describe the bug When logging a simple error when using bun:
log.fatal(new Error("I am a pretty Error with a stacktrace."));
The output log is somehow broken with many empty lines:
Error I am a pretty Error with a stacktrace., 26, 20, 26, 20, /Users/foo/Projects/bar/baz/src/app.ts
error stack:
• app.ts module code
/src/app.ts:26
•
•
•
•
To Reproduce Steps to reproduce the behavior:
- Start a ts file with [email protected]
- log.fatal(new Error("I am a pretty Error with a stacktrace."));
Expected behavior No see empty lines
Bun Version 1.1.0
https://bun.sh/docs/runtime/nodejs-apis
Bun's goal is to have full node compatability. If a package does not work in bun but does in node, the issue should be opened in bun, not the package itself.