|
|
@ -107,9 +107,6 @@ function updateStatus(channel, status) {
|
|
|
|
channel.status = null
|
|
|
|
channel.status = null
|
|
|
|
} else if (status.reason.includes('timed out')) {
|
|
|
|
} else if (status.reason.includes('timed out')) {
|
|
|
|
// nothing
|
|
|
|
// nothing
|
|
|
|
} else if (status.reason.includes('403')) {
|
|
|
|
|
|
|
|
channel.status = 'Geo-blocked'
|
|
|
|
|
|
|
|
if (config.debug) log.print(` ERR: ${channel.url} (${status.reason})\n`)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
channel.status = 'Offline'
|
|
|
|
channel.status = 'Offline'
|
|
|
|
if (config.debug) log.print(` ERR: ${channel.url} (${status.reason})\n`)
|
|
|
|
if (config.debug) log.print(` ERR: ${channel.url} (${status.reason})\n`)
|
|
|
|