mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 08:31:43 +00:00
Add in missed error catching
This commit is contained in:
parent
c137e05bfd
commit
c822bb6ea4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue