mirror of https://github.com/Chocobozzz/PeerTube
Add stats to logger
parent
bca6d58676
commit
49a4b8cb7d
|
@ -164,7 +164,7 @@ export class VideoViewerStats {
|
||||||
|
|
||||||
await this.deleteLocalVideoViewersKeys(key)
|
await this.deleteLocalVideoViewersKeys(key)
|
||||||
} catch (err) {
|
} 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) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in New Issue