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

Feature/better-500-handling #1395

Merged
merged 6 commits into from
Mar 6, 2024
Merged

Feature/better-500-handling #1395

merged 6 commits into from
Mar 6, 2024

Conversation

iOvergaard
Copy link
Collaborator

@iOvergaard iOvergaard commented Mar 6, 2024

There is a bug where the Umbraco object cache becomes corrupted. The solution is to restart the server. We are investigating. While the investigation is ongoing, we would like to catch that error upfront and let the user know they should restart the server, so we have added a few keywords here to catch that.

While I was at it, I added more generic error handling specifically for 500 errors, so any developer can find the complete stack trace in the console while informing the user with a more human-readable message -- the old notification filled up the whole UI before.

To test, create a document type and repeatedly click Save until you start getting 500 errors. The message should inform you to restart your server. You should also see a group of error messages in the console.

@iOvergaard iOvergaard merged commit c875c91 into main Mar 6, 2024
7 checks passed
@iOvergaard iOvergaard deleted the feature/better-500-handling branch March 6, 2024 11:41
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.

None yet

2 participants