]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - models/pods.js
Error handling mini refractoring
[github/Chocobozzz/PeerTube.git] / models / pods.js
index 395b1e0b12056a1c27a345890c5030479a5e462b..04fd042c39c2b66f39199145f6c3b2e13d941420 100644 (file)
@@ -61,7 +61,7 @@
   function list (callback) {
     PodsDB.find(function (err, pods_list) {
       if (err) {
-        logger.error('Cannot get the list of the pods.', { error: err })
+        logger.error('Cannot get the list of the pods.')
         return callback(err)
       }