aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-11 16:22:50 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-11 16:22:50 +0100
commitdea32aacde362a5fbd62a88cd32487768b788468 (patch)
tree3e11525470bb5a2ba0bfba99087f107494f49edf /server/initializers
parentbf4ff8fe0be63422c05d42e12f25b454bb95d1a5 (diff)
downloadPeerTube-dea32aacde362a5fbd62a88cd32487768b788468.tar.gz
PeerTube-dea32aacde362a5fbd62a88cd32487768b788468.tar.zst
PeerTube-dea32aacde362a5fbd62a88cd32487768b788468.zip
Server: always check commit result
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/migrator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/migrator.js b/server/initializers/migrator.js
index eaecb4936..e5288b615 100644
--- a/server/initializers/migrator.js
+++ b/server/initializers/migrator.js
@@ -91,7 +91,7 @@ function executeMigration (actualVersion, entity, callback) {
91 return callback(err) 91 return callback(err)
92 } 92 }
93 93
94 t.commit() 94 t.commit().asCallback(callback)
95 }) 95 })
96 }) 96 })
97 }) 97 })