mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
fix(tuna-obs): fix lite mode logic
This commit is contained in:
@ -68,11 +68,13 @@ export default createPlugin({
|
|||||||
})
|
})
|
||||||
.catch((error: { code: number; errno: number }) => {
|
.catch((error: { code: number; errno: number }) => {
|
||||||
if (!this.liteMode && is.dev()) {
|
if (!this.liteMode && is.dev()) {
|
||||||
console.debug(
|
if (is.dev()) {
|
||||||
`Error: '${
|
console.debug(
|
||||||
error.code || error.errno
|
`Error: '${
|
||||||
}' - when trying to access obs-tuna webserver at port ${port}. enable lite mode`,
|
error.code || error.errno
|
||||||
);
|
}' - when trying to access obs-tuna webserver at port ${port}. enable lite mode`,
|
||||||
|
);
|
||||||
|
}
|
||||||
this.liteMode = true;
|
this.liteMode = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user