Handle deleting site & resources gracefully

This commit is contained in:
Owen Schwartz
2024-12-08 21:44:45 -05:00
parent 516db54c72
commit d79760dad9
3 changed files with 90 additions and 35 deletions

View File

@@ -166,7 +166,6 @@ export async function createSite(
status: HttpCode.CREATED,
});
} catch (error) {
throw error;
return next(
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
);