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

Missing proper error handling in middleware #67

Open
1 task
alex-joseph-stewart opened this issue Nov 1, 2024 · 0 comments
Open
1 task

Missing proper error handling in middleware #67

alex-joseph-stewart opened this issue Nov 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alex-joseph-stewart
Copy link
Contributor

Problem

Currently our middleware is not sending error responses back to front end. If a user enters incorrect key information (for example) they have no way of knowing why the application isn't working.

Solution

The controllers for each route handler (routes/api) all need proper error responses written depending on what that specific controller is supposed to be fetching. For example, if someone enters an incorrect ARN to add a Step Function, controllers/aws/getStepFunctionsAWSController.getStepFunctionAWS needs to send an appropriate response (maybe a 401).

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd love to make a PR to implement this feature!
@alex-joseph-stewart alex-joseph-stewart added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant