diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-14 15:33:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-14 16:03:09 +0100 |
commit | e3a682a877a10833cb54ac3595e55110bda95647 (patch) | |
tree | 4c9e2e31be234720a72988f2e9ad8f4a002ec4c8 /server/helpers/logger.ts | |
parent | a0922eb9b3750ab6de31116531b625643930b38c (diff) | |
download | PeerTube-e3a682a877a10833cb54ac3595e55110bda95647.tar.gz PeerTube-e3a682a877a10833cb54ac3595e55110bda95647.tar.zst PeerTube-e3a682a877a10833cb54ac3595e55110bda95647.zip |
Handle thumbnail update
Diffstat (limited to 'server/helpers/logger.ts')
-rw-r--r-- | server/helpers/logger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index 201ea2235..bcd4885af 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts | |||
@@ -21,7 +21,7 @@ function keysExcluder (key, value) { | |||
21 | return excludedKeys[key] === true ? undefined : value | 21 | return excludedKeys[key] === true ? undefined : value |
22 | } | 22 | } |
23 | 23 | ||
24 | const loggerFormat = winston.format.printf((info) => { | 24 | const loggerFormat = winston.format.printf(info => { |
25 | let additionalInfos = JSON.stringify(info, keysExcluder, 2) | 25 | let additionalInfos = JSON.stringify(info, keysExcluder, 2) |
26 | if (additionalInfos === '{}') additionalInfos = '' | 26 | if (additionalInfos === '{}') additionalInfos = '' |
27 | else additionalInfos = ' ' + additionalInfos | 27 | else additionalInfos = ' ' + additionalInfos |