Skip to content

Commit

Permalink
improving error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Apr 23, 2024
1 parent 8a9ccd5 commit cef7733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def addLongRebateBill(request):
long.save()
text = "Long Term rebate added Successfully"
except Exception as e:
text = "Allocation ID for the entered email does not exist"
text = "An error occurred while processing your form submission. If you're submitting an application, try compressing it before resubmitting. If the issue persists, please report it to the admin."
print(e)
except:
text = "Email ID does not exist in the database. Please login using the correct email ID"
Expand Down

0 comments on commit cef7733

Please sign in to comment.