From 49a4b8cb7db3c758aec1fd94c3da6c7510e0cfcc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Dec 2023 09:44:10 +0100 Subject: [PATCH] Add stats to logger --- server/core/lib/views/shared/video-viewer-stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/lib/views/shared/video-viewer-stats.ts b/server/core/lib/views/shared/video-viewer-stats.ts index 957e6decb..65309e1c4 100644 --- a/server/core/lib/views/shared/video-viewer-stats.ts +++ b/server/core/lib/views/shared/video-viewer-stats.ts @@ -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) {