diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 18:40:50 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 47e0652b4a98916d4a1d012fbec61afd73a30565 (patch) | |
tree | 8d400cce95b50d18921b30fea1d5d2d89b5da740 /scripts/parse-log.ts | |
parent | 41dbdb8acff3ac56187e8149eab0ff82e2377597 (diff) | |
download | PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.tar.gz PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.tar.zst PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.zip |
Optimize account creation
Diffstat (limited to 'scripts/parse-log.ts')
-rwxr-xr-x | scripts/parse-log.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts index 81a22f7a0..8aac6fbda 100755 --- a/scripts/parse-log.ts +++ b/scripts/parse-log.ts | |||
@@ -38,5 +38,5 @@ const rl = createInterface({ | |||
38 | 38 | ||
39 | rl.on('line', line => { | 39 | rl.on('line', line => { |
40 | const log = JSON.parse(line) | 40 | const log = JSON.parse(line) |
41 | logLevels[log.level](log.message) | 41 | logLevels[log.level](log.message, log.stack) |
42 | }) | 42 | }) |