Skip to content

Conversation

AashifAmeer
Copy link
Contributor

After a user successfully registers, if any internal error occurs (e.g., during email sending or other post-registration processes), the error is not properly reflected in the UI The UI shows an empty box. This prevents users from understanding the issue and taking appropriate action.

Before:
4

After fixing the issue:
error

Fixes #89

@Hardik301002
Copy link

@AashifAmeer
I have reviewed and implemented the necessary changes to handle internal errors during registration.

Changes Implemented:

1.Added error handling: Wrapped critical registration functions with try-catch blocks.
2.Improved UI feedback: Now, users receive error messages if something goes wrong during registration.
3.Logged errors for debugging: Internal errors are logged to help with troubleshooting.

Could you please review my approach and let me know if any improvements are needed? Thanks!

@AashifAmeer
Copy link
Contributor Author

Hi @Hardik301002 I have already fixed the issue. No need to work on this

@cengique
Copy link
Member

@AashifAmeer thanks for this commit. "Internal Server Error" really doesn't convey the message to the front end user though. Can you check if it's 500 and then display a message such as "System error. Contact the administrator." Also, can you fix the same issue on the login screen?

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.

Error handling issue: Internal errors during registration are not reflected in the UI [Resolved]
3 participants