Fix registration error handling to reflect internal errors in the UI#90
Fix registration error handling to reflect internal errors in the UI#90AashifAmeer wants to merge 1 commit intosoft-eng-practicum:developfrom
Conversation
|
@AashifAmeer Changes Implemented: 1.Added error handling: Wrapped critical registration functions with try-catch blocks. Could you please review my approach and let me know if any improvements are needed? Thanks! |
|
Hi @Hardik301002 I have already fixed the issue. No need to work on this |
|
@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? |
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:

After fixing the issue:

Fixes #89