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

Add Error Handling to Google Forms #60

Open
kimharr24 opened this issue Mar 17, 2024 · 0 comments
Open

Add Error Handling to Google Forms #60

kimharr24 opened this issue Mar 17, 2024 · 0 comments
Assignees
Labels
backend Backend

Comments

@kimharr24
Copy link

kimharr24 commented Mar 17, 2024

Background

Currently, there is no error handling in the AppScript that is executed when a user submits an application through our Google Forms. We should design a strategy to catch any errors that may occur during the submission of a form.

Task

Update the script to catch errors that occur during the submission of a form. The following errors may occur during a form submission:

  1. The user is not submitting the form with a husky.neu.edu or northeastern.edu email.
  2. The user has not already signed up to our recruitment portal (if this case occurs, then our backend will not be able to associate the user's application with their account in our database, discarding the application).
  3. The user has already submitted an application for the current cycle.

The ideal solution will save the state of an application even after submitting an application that triggers one of the aforementioned errors. This makes it so that if a user accidentally submits their application with the wrong email, they don't have to rewrite their answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend
Projects
None yet
Development

No branches or pull requests

2 participants