mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-27 16:27:58 +03:00
add ignore next to catch errors
This commit is contained in:
@@ -25,7 +25,7 @@ export async function getViewsForUser(req: Request, res: Response): Promise<Resp
|
||||
} else {
|
||||
return res.sendStatus(404);
|
||||
}
|
||||
} catch (err) /* instanbul ignore next */ {
|
||||
} catch (err) /* istanbul ignore next */ {
|
||||
Logger.error(err as string);
|
||||
return res.sendStatus(500);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user