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

fix: improve project DAL error handling #2781

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

DanielHougaard
Copy link
Contributor

Description 📣

This PR fixes errors for finding projects. Previously it wouldn't factor in Not Found or Unauthorized errors. If a NotFound error was thrown from within the DAL, it would translate to a 500 / Database error.

This issue was especially visible when trying to fetch secrets with an invalid project slug (workspaceSlug).

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

@DanielHougaard DanielHougaard self-assigned this Nov 22, 2024
@DanielHougaard DanielHougaard changed the title fix: improve project error handling fix: improve project DAL error handling Nov 22, 2024
@maidul98 maidul98 merged commit 71c9c0f into main Nov 25, 2024
4 checks passed
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.

2 participants