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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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.

1 participant