Improved error logging.
This commit is contained in:
@@ -75,6 +75,7 @@ export async function JobsListMedia(req: Request, res: Response) {
|
||||
|
||||
res.json(ret);
|
||||
} catch (error) {
|
||||
logger.error("Error listing job media.", jobid, error);
|
||||
res.status(500).json(error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user