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