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

Improve error messages, add new error message service #305

Conversation

Jean28518
Copy link
Collaborator

Signed-off-by: Jean28518 jean-frederic.vog.vogelbacher@fau.de

Wenn ich beispielsweise ein neues Schema mit unerlaubten Zeichen erstellen will, kommt nun aktuell die angepasste Fehlermeldung:

grafik

Möchte ich als User allerdings wissen, warum wirklich das Schema nicht erstellt wurde: Müsste ich im Backend das handleResponse() umbauen, weil es nämlich bei Fehlercodes, die eigentliche message vom Lissi Agent löscht, in dem es nur null zurück gibt. Wollen wir also mehr Info, warum das seitens des Lissi Agent nicht geklappt hat, dem User anzeigen, müssten wie überall das handle Response bearbeiten.

Ist bspw. unser Server nicht erreichbar, wird natürlich eine andere Fehlermeldung, als "Could not create a schema" angezeigt... Habe das nicht hartgecodet, ist dynamisch vom Server.

Signed-off-by: Jean28518 <jean-frederic.vog.vogelbacher@fau.de>
Copy link
Collaborator

@annikakrause annikakrause left a comment

Choose a reason for hiding this comment

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

Please change the two lines, but apart from that: looks very good! :)

Signed-off-by: Annika Krause <annika.krause@fau.de>
@annikakrause annikakrause merged commit 2280433 into main Jul 23, 2022
@annikakrause annikakrause deleted the 258-display-more-precise-error-messages-eg-when-trying-to-log-in-with-not-existing-mail-adress branch July 23, 2022 21:51
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.

Display more precise error messages (e.g. when trying to log in with not existing mail adress)
2 participants