mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 01:55:10 +02:00
Resource update working
This commit is contained in:
parent
5d1db5413b
commit
94da55450e
5 changed files with 15 additions and 16 deletions
|
@ -70,7 +70,7 @@ export async function getResource(req: Request, res: Response, next: NextFunctio
|
|||
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