mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
tidying up redis' remains while shifting to sqlite, DRYer 500 responses
This commit is contained in:
@@ -11,7 +11,7 @@ const __controller_func = async (req, res) => {
|
||||
|
||||
} catch (error) {
|
||||
logger.error('__controller_func', { error });
|
||||
return res.status(500).send({ message: "Server Error. Try again." });
|
||||
return res.sendStatus(500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user