Skip to content

v6.2.1

Choose a tag to compare

@hiro5id hiro5id released this 18 Apr 05:40
· 21 commits to master since this release

Bug Fixes

  • Logging a bare Error no longer prefixes the message with a dangling hyphen. Calls like console.error(new Error('bang')) and console.log(new Error('bang')) now emit message: "bang" instead of message: " - bang".

Tests

  • Added regression coverage for bare-error logging without extra context. Updated error-only expectations and added an explicit end-to-end console-path test to ensure the emitted message stays clean when no leading string message is provided.