Skip to content

Fix: File logging now respects stackMode option#4

Merged
regenrek merged 2 commits into
mainfrom
fix/file-logging-respect-stack-mode
Sep 13, 2025
Merged

Fix: File logging now respects stackMode option#4
regenrek merged 2 commits into
mainfrom
fix/file-logging-respect-stack-mode

Conversation

@regenrek

Copy link
Copy Markdown
Collaborator

This PR fixes an issue where file logging was not respecting the 'condensed' stackMode option. Previously, file logs always showed full stack traces regardless of the stackMode setting.

Changes

  • Updated file logging logic in packages/vite/src/index.ts to properly handle all stackMode options:
    • 'none': No stack traces in file logs
    • 'condensed': Only the first line of stack traces in file logs
    • 'full': Complete stack traces in file logs

This makes file logging behavior consistent with terminal output behavior for all stackMode settings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 13, 2025

Copy link
Copy Markdown

Open in StackBlitz

@browser-echo/core

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/core@4

@browser-echo/mcp

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/mcp@4

@browser-echo/next

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/next@4

@browser-echo/nuxt

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/nuxt@4

@browser-echo/react

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/react@4

@browser-echo/vite

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/vite@4

@browser-echo/vue

npm i https://pkg.pr.new/instructa/browser-echo/@browser-echo/vue@4

commit: 9ae0919

@regenrek regenrek merged commit 5ddd0f3 into main Sep 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant