do not throw in makeItem

This commit is contained in:
skilion 2018-01-01 16:20:28 +01:00
parent 764975e224
commit c54d1927e9

View file

@ -54,7 +54,7 @@ private Item makeItem(const ref JSONValue driveItem)
} else if (isItemRemote(driveItem)) {
item.type = ItemType.remote;
} else {
assert(0);
// do not throw exception, item will be removed in applyDifferences()
}
// root and remote items do not have parentReference