Fix a few common causes of error logs (incl. better ffprobe error messages)
This commit is contained in:
parent
c4cc22dd05
commit
fbee6d2ab7
4 changed files with 55 additions and 12 deletions
|
|
@ -64,7 +64,7 @@ class ReferenceCounter {
|
|||
for (var caller in this.references) {
|
||||
this.refCount += this.references[caller];
|
||||
}
|
||||
} else if (this.channel.users.length > 0) {
|
||||
} else if (this.channel.users && this.channel.users.length > 0) {
|
||||
LOGGER.error("ReferenceCounter::refCount reached 0 but still had " +
|
||||
this.channel.users.length + " active users" +
|
||||
` (channel: ${this.channelName})`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue