|
|
@@ -18,7 +18,7 @@ module.exports = DiffGenerator =
|
|
|
if e instanceof ConsistencyError and i = update.op.length - 1
|
|
|
# catch known case where the last op in an array has been
|
|
|
# merged into a later op
|
|
|
- logger.error {update, op: JSON.stringify(op)}, "marking op as broken"
|
|
|
+ logger.error {err: e, update, op: JSON.stringify(op)}, "marking op as broken"
|
|
|
op.broken = true
|
|
|
else
|
|
|
throw e # rethrow the execption
|