better debugging, pretty print (no undefined) in logtable

This commit is contained in:
Kevin Jahns
2016-04-19 16:34:14 +02:00
parent 153ec811e2
commit 82025c5de9
3 changed files with 21 additions and 10 deletions

View File

@@ -367,7 +367,11 @@ module.exports = function (Y /* :any */) {
!op.gc && !op.deleted
) {
// combine!
left.originOf = op.originOf
if (op.originOf != null){
left.originOf = op.originOf
} else {
delete left.originOf
}
left.content = left.content.concat(op.content)
left.right = op.right
yield* this.os.delete(op.id)