mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Improved phrasing of error responses \n removed debug logs
This commit is contained in:
@@ -174,6 +174,6 @@ module.exports = async function voteOnSponsorTime(req, res) {
|
||||
res.sendStatus(200);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
res.status(400).json({error: 'Think of something to return'});
|
||||
res.status(500).json({error: 'Internal error creating segment vote'});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user