csce-cups / tias

TIAS Is A Scheduler
https://csce-scheduler.com
0 stars 0 forks source link

Determine how to return from AWS lambda if there's a failure in the JavaScript lamba. #59

Closed Shane-McGookey closed 2 years ago

Shane-McGookey commented 2 years ago

If there is an error in the JS lambda, and we return, it returns to the scope one level up. Returning one level up does not return from the AWS lambda, and so the function continues even if an error has occurred. We want to return from the AWS lambda itself.

Shane-McGookey commented 2 years ago

Added adequate error handling and resolution to the lambdas, which addressed this issue.