Skip to content

Improve Error Boundary#230

Merged
stordahl merged 3 commits intomainfrom
stordahl/better-server-error-messages
Oct 15, 2025
Merged

Improve Error Boundary#230
stordahl merged 3 commits intomainfrom
stordahl/better-server-error-messages

Conversation

@stordahl
Copy link
Copy Markdown
Collaborator

@stordahl stordahl commented Oct 10, 2025

Overview

Closes #229 by improving the dashboard error boundary to provide structured information for specific errors

Changes by Package

@counterscale/cli

No changes

@counterscale/server

  • Updates dashboard error boundary to handle specific errors with debug instructions, and generally improve to content shown when an error occurs

@counterscale/tracker

No changes

Other Changes

Additional Notes

Screenshot 2025-10-09 at 7 38 03 PM Screenshot 2025-10-09 at 7 37 00 PM

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 92.26519% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.23%. Comparing base (9925968) to head (e367e27).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/server/app/routes/dashboard.tsx 92.26% 13 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #230      +/-   ##
==========================================
+ Coverage   81.02%   82.23%   +1.21%     
==========================================
  Files          65       65              
  Lines        4647     4819     +172     
  Branches      653      679      +26     
==========================================
+ Hits         3765     3963     +198     
+ Misses        872      845      -27     
- Partials       10       11       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@stordahl stordahl marked this pull request as ready for review October 13, 2025 17:22
@stordahl stordahl merged commit e2bd2a1 into main Oct 15, 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.

[Feature]: Better debug error messages for 500s

1 participant