Commits

Ginés Martínez Sánchez committed f539bd9

improved error message

Comments (0)

Files changed (1)

         """
         named_gobj = self._unique_named_gobjs.get(gobj.name, None)
         if named_gobj is not None:
+            self.logger and self.logger.info(
+                'ERROR register_unique_gobj() "%s" ALREADY REGISTERED' %
+                gobj.name)
             return False
         self._unique_named_gobjs[gobj.name] = gobj
         return True