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

Report SSR errors #486

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Report SSR errors #486

merged 1 commit into from
Jan 13, 2023

Conversation

reinink
Copy link
Member

@reinink reinink commented Jan 13, 2023

Right now when a JavaScript related error occurs we display it on the console, but it would be really helpful to have these exceptions reported in PHP as well, so that they can get surfaced in error tracking software.

This PR updates the inertia:start-ssr command to automatically report all of these errors. However, it doesn't throw an exception, as that would kill the SSR process, which isn't desirable.

@reinink reinink merged commit 3750bf8 into master Jan 13, 2023
@reinink reinink deleted the report-ssr-errors branch January 13, 2023 01:15
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