diff options
Diffstat (limited to 'server/helpers/logger.ts')
-rw-r--r-- | server/helpers/logger.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index 04ddf01a6..7fdfe2125 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts | |||
@@ -80,7 +80,8 @@ const logger = winston.createLogger({ | |||
80 | function bunyanLogFactory (level: string) { | 80 | function bunyanLogFactory (level: string) { |
81 | return function () { | 81 | return function () { |
82 | let meta = null | 82 | let meta = null |
83 | let args = [].concat(arguments) | 83 | let args: any[] = [] |
84 | args.concat(arguments) | ||
84 | 85 | ||
85 | if (arguments[ 0 ] instanceof Error) { | 86 | if (arguments[ 0 ] instanceof Error) { |
86 | meta = arguments[ 0 ].toString() | 87 | meta = arguments[ 0 ].toString() |