Skip to content

fix: only print verbose error logs in debug mode#2941

Merged
chenjiahan merged 1 commit intomainfrom
verbose_logs_0716
Jul 16, 2024
Merged

fix: only print verbose error logs in debug mode#2941
chenjiahan merged 1 commit intomainfrom
verbose_logs_0716

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented Jul 16, 2024

Summary

The verbose error logs are often repeated and useless, we should only print verbose error logs in debug mode.

This change makes the error log clearer and more accurate.

  • before:
截屏2024-07-16 22 50 17
  • after:

image

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 16, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 4c3f14f
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/669689660c6f930008993b00
😎 Deploy Preview https://deploy-preview-2941--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 81 (🟢 up 4 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit 1eb9bee into main Jul 16, 2024
@chenjiahan chenjiahan deleted the verbose_logs_0716 branch July 16, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant