tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Bug: Error stack trace file paths don't use source maps

Open kristianeboe opened this issue 1 year ago • 2 comments

Describe the bug Both console log and loglevel, and debug, manage to parse source maps (I think that's the issue?) to create a clear stack trace with hyper links, but tslog does not :( image

To Reproduce Steps to reproduce the behavior:

  1. Log an error

Expected behavior produce the same trace as console log and other tools

Additional context I'm on bun and nextjs 14

Node.js Version 20

kristianeboe avatar Oct 31 '24 01:10 kristianeboe

This is disappointing. I had hoped that a logging tool with TS in the name would "just work" with TypeScript - showing stack traces based on source maps.

kylecordes avatar Feb 12 '25 01:02 kylecordes

Same for me

marijnbent avatar Apr 04 '25 18:04 marijnbent