#313 Fix console.err bug

This commit is contained in:
vexorian 2021-05-16 06:47:55 -04:00
parent c75c9bc8e1
commit 4ec285fecb

View File

@ -124,7 +124,7 @@ function video( channelDB , fillerDB, db) {
router.get('/stream', async (req, res) => {
// Check if channel queried is valid
res.on("error", (e) => {
console.err("There was an unexpected error in stream.", e);
console.error("There was an unexpected error in stream.", e);
} );
if (typeof req.query.channel === 'undefined') {
res.status(400).send("No Channel Specified")