aboutsummaryrefslogtreecommitdiffhomepage
path: root/models/pods.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-02-05 19:02:05 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-02-05 19:02:05 +0100
commit8425cb894d4867d26fd5f7fae7862b0669f3c717 (patch)
tree5e2f00a8219e198f2dd074ca13f3ae681174228f /models/pods.js
parentdac0a5319ab1c52a0958647b1593f85339b77e29 (diff)
downloadPeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.tar.gz
PeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.tar.zst
PeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.zip
Error handling mini refractoring
Diffstat (limited to 'models/pods.js')
-rw-r--r--models/pods.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pods.js b/models/pods.js
index 395b1e0b1..04fd042c3 100644
--- a/models/pods.js
+++ b/models/pods.js
@@ -61,7 +61,7 @@
61 function list (callback) { 61 function list (callback) {
62 PodsDB.find(function (err, pods_list) { 62 PodsDB.find(function (err, pods_list) {
63 if (err) { 63 if (err) {
64 logger.error('Cannot get the list of the pods.', { error: err }) 64 logger.error('Cannot get the list of the pods.')
65 return callback(err) 65 return callback(err)
66 } 66 }
67 67