mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 11:31:55 +02:00
Add in missed error catching
This commit is contained in:
@@ -81,6 +81,7 @@ module.exports = RedisManager =
|
||||
multi.lrange keys.pendingUpdates(doc_id:doc_id), 0 , -1
|
||||
multi.del keys.pendingUpdates(doc_id:doc_id)
|
||||
multi.exec (error, replys) ->
|
||||
return callback(error) if error?
|
||||
jsonUpdates = replys[0]
|
||||
updates = []
|
||||
for jsonUpdate in jsonUpdates
|
||||
|
||||
Reference in New Issue
Block a user