mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-28 14:44:55 +02:00
more frontend for clients
This commit is contained in:
parent
204403da67
commit
3830ad65fc
3 changed files with 22 additions and 21 deletions
|
@ -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"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue