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

Throw 400 for user errors #65

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Throw 400 for user errors #65

merged 2 commits into from
Mar 22, 2024

Conversation

vermakhushboo
Copy link
Member

@vermakhushboo vermakhushboo commented Mar 22, 2024

If a function build fails, throw a 400 error instead of 500 because the developer did something wrong for the build command. Using 400 for the error code will prevent these errors from sending to the logging provider.

@Meldiron Meldiron merged commit e7b9e5f into main Mar 22, 2024
3 checks passed
@Meldiron Meldiron deleted the fix-throw-400-for-user-errors branch March 22, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants