mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-25 21:25:06 +02:00
throw error in invite
This commit is contained in:
parent
ca4f8d3877
commit
e9ffffa419
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ export async function inviteUser(
|
|||
status: HttpCode.OK,
|
||||
});
|
||||
} catch (error) {
|
||||
logger.error(error);
|
||||
throw error;
|
||||
return next(
|
||||
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue