feature: initial syndication feeds support
[oweals/peertube.git] / server / lib / redis.ts
index 2ecff939e1d51d24dfe96aeea00c1622e404de58..41f4c986989c0d5754ad5f48abfbd23122008c74 100644 (file)
@@ -23,7 +23,7 @@ class Redis {
     })
 
     this.client.on('error', err => {
-      logger.error('Error in Redis client.', err)
+      logger.error('Error in Redis client.', { err })
       process.exit(-1)
     })
 
@@ -59,8 +59,6 @@ class Redis {
       this.client.sort(jobsPrefix + ':jobs:' + state, 'by', mode, order, 'LIMIT', offset.toString(), count.toString(), (err, values) => {
         if (err) return rej(err)
 
-
-
         return res(values)
       })
     })