Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle error at load for apps #9768

Merged
merged 5 commits into from
Jan 22, 2024
Merged

fix: handle error at load for apps #9768

merged 5 commits into from
Jan 22, 2024

Conversation

Princesseuh
Copy link
Member

Changes

This PR attempt to handle errors inside apps better so that they don't crash the dev toolbar and it's better shown to users that apps crashed. For instance, now errors on loading and init will be shown in the server-side terminal so that users are sure to see it (it's kinda not obvious for users that the dev toolbar runs.. in the client so the logs are elsewhere, bit wonky.)

Testing

Tested manually!

Docs

N/A

Copy link

changeset-bot bot commented Jan 22, 2024

🦋 Changeset detected

Latest commit: b99c1be

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) docs pr A PR that includes documentation for review labels Jan 22, 2024
Copy link
Contributor

⚖️ Bundle Size Check

Latest commit: 9a881fe

File Old Size New Size Change
dev-toolbar/apps/settings 3.77 KB 3.84 KB + 69 B
dev-toolbar/settings 685 B 726 B + 41 B
dev-toolbar/toolbar 40.22 KB 40.8 KB + 592 B

Copy link
Member

@martrapp martrapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me!

@Princesseuh Princesseuh merged commit eed0e87 into main Jan 22, 2024
14 of 15 checks passed
@Princesseuh Princesseuh deleted the fix/apps-crashes branch January 22, 2024 20:37
@astrobot-houston astrobot-houston mentioned this pull request Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs pr A PR that includes documentation for review pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants