Bladeren bron

better error messages

Darren Ranalli 19 jaren geleden
bovenliggende
commit
90bcf39b91
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      direct/src/distributed/DoHierarchy.py

+ 2 - 2
direct/src/distributed/DoHierarchy.py

@@ -62,7 +62,7 @@ class DoHierarchy:
         doId = do.doId
         if doId in self._allDoIds:
             self.notify.error(
-                'storeObjectLocation(%s %s) already in _allDoIds; duplicate generate()?' % (
+                'storeObjectLocation(%s %s) already in _allDoIds; duplicate generate()? or didn\'t clean up previous instance of DO?' % (
                 do.__class__.__name__, do.doId))
         parentZoneDict = self._table.setdefault(parentId, {})
         zoneDoSet = parentZoneDict.setdefault(zoneId, set())
@@ -75,7 +75,7 @@ class DoHierarchy:
         doId = do.doId
         if doId not in self._allDoIds:
             self.notify.error(
-                'deleteObjectLocation(%s %s) not in _allDoIds; duplicate delete()?' % (
+                'deleteObjectLocation(%s %s) not in _allDoIds; duplicate delete()? or invalid previous location on a new object?' % (
                 do.__class__.__name__, do.doId))
         # jbutler: temp hack to get by the assert, this will be fixed soon
         if (doId not in self._allDoIds):