Add stats to logger

This commit is contained in:
Chocobozzz 2023-12-13 09:44:10 +01:00
parent bca6d58676
commit 49a4b8cb7d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -164,7 +164,7 @@ export class VideoViewerStats {
await this.deleteLocalVideoViewersKeys(key)
} catch (err) {
logger.error('Cannot process viewer stats for Redis key %s.', key, { err, ...lTags() })
logger.error('Cannot process viewer stats for Redis key %s.', key, { err, stats, ...lTags() })
}
}
} catch (err) {