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

feat: show better error message for failing validations #2551

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

StephanH90
Copy link
Contributor

Description

Currently, we always show a technical error message when an answer could not be saved, even if it is due to an incorrect validation (which is not a technical error). In this MR, this gets slightly reworked to show some more detailed information:

for validation errors

image

when being offline

image

fallback, actual technical error

image
(i just doctored the text in which is why there is no actual technical infos shown but the MR doesnt touch that bit)

@StephanH90 StephanH90 added the enhancement New feature or request label Nov 28, 2023
@StephanH90 StephanH90 requested a review from anehx November 28, 2023 09:11
@StephanH90 StephanH90 self-assigned this Nov 28, 2023
@StephanH90 StephanH90 force-pushed the fix/show-better-error-msg branch from 42fde47 to c6addde Compare November 28, 2023 09:11
@anehx anehx merged commit ce00677 into projectcaluma:main Dec 6, 2023
53 checks passed
@anehx
Copy link
Contributor

anehx commented Dec 12, 2023

🎉 This PR is included in version 12.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@anehx anehx added the released label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants