Skip to content

chore(ScheduleFinderLive): don't show errors#3080

Merged
thecristen merged 2 commits intomainfrom
cbj/less-noisy-fails
Apr 3, 2026
Merged

chore(ScheduleFinderLive): don't show errors#3080
thecristen merged 2 commits intomainfrom
cbj/less-noisy-fails

Conversation

@thecristen
Copy link
Copy Markdown
Collaborator

Scope

Just cleaning up some things and started thinking about error handling. I thought the error display we currently support is somewhat verbose and unhelpful.

Implementation

Removed the title attribute.

Screenshots

Before After
image image

How to test

This is only relevant when rendering errors while doing an async task. So you can raise an error in one of the assign_async function calls to see.
If you raise errors elsewhere in the code, the page will behave in accordance to the description on LiveView's page on error and exception handling, in that it'll usually just reload as if nothing happened.

@thecristen thecristen requested a review from a team as a code owner April 2, 2026 21:40
@thecristen thecristen requested a review from lvachon1 April 2, 2026 21:40
Copy link
Copy Markdown
Contributor

@lvachon1 lvachon1 left a comment

Choose a reason for hiding this comment

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

Looks pretty straightforward to me. I don't think we use rider screenshots of error messages in debugging much (at all?), so as long as splunk or something is capturing these rare error cases we should be good.

If we do want to keep that option, putting the error details in a collapsable section, a hidden div or even the console log might prove useful in the future.

@thecristen
Copy link
Copy Markdown
Collaborator Author

@lvachon1 Great points, I forgot to mention that these errors DO get logged in the backend every time so yeah we're good! 👍🏼

@thecristen thecristen enabled auto-merge (squash) April 3, 2026 19:45
@thecristen thecristen merged commit 5c06d55 into main Apr 3, 2026
17 checks passed
@thecristen thecristen deleted the cbj/less-noisy-fails branch April 3, 2026 19:52
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.

2 participants