#313 Fix console.err bug
This commit is contained in:
parent
c75c9bc8e1
commit
4ec285fecb
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user