mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
better log for LiveKit
This commit is contained in:
1 parent
ee0e353f0d
commit
0f40ee2ba8
3 files changed
+70
-51
No files matched your search
+2
-2
@@ -1003,7 +1003,7 @@ export default class Player extends EventEmitter {
|
||||
if (this._destroyed) return;
|
||||
|
||||
if (this._isJoining) {
|
||||
logger.player(`[Player] Busy joining. Ignoring: ${channelId}`);
|
||||
logger.mediaplayer(`[Player] Busy joining. Ignoring: ${channelId}`);
|
||||
return;
|
||||
}
|
||||
if (this.connection && this._channelId === channelId) {
|
||||
@@ -1289,7 +1289,7 @@ export default class Player extends EventEmitter {
|
||||
|
||||
if (e.message?.includes("401") || e.message?.includes("Unauthorized")) {
|
||||
// Track 401 errors for logging purposes
|
||||
logger.warn(`[Player] Join failed with 401 Unauthorized for guild ${this._guildId}`);
|
||||
logger.warn(`[Player] Join failed with 401 Unauthorized for guild ${this._guildId ?? this._resolveGuildId() ?? 'unknown'}`);
|
||||
}
|
||||
|
||||
if (this.connection) {
|
||||
|
||||
Reference in new issue
Block a user