more frontend for clients

This commit is contained in:
miloschwartz 2025-02-21 17:13:23 -05:00
parent 204403da67
commit 3830ad65fc
No known key found for this signature in database
3 changed files with 22 additions and 21 deletions

View file

@ -77,11 +77,11 @@ export async function pickClientDefaults(
const parsedSite = sitesRequiredFields.safeParse(site);
if (!parsedSite.success) {
logger.error("Unable to pick client defaults because: " + fromError(parsedSite.error).toString());
return next(
createHttpError(
HttpCode.BAD_REQUEST,
"Unable to pick client defaults because: " +
fromError(parsedSite.error).toString()
"Site is not configured to accept client connectivity"
)
);
}