def register_safe(self, parent, key, **kwargs):
        """
        Use this method to protect caller from any form of directory register error
        """
        try:
            return self.register(parent, key, **kwargs)
        except Exception as ex:
            log.exception((parent, key, kwargs) % "Error registering key=%s/%s, args=%s")
dataset/ETHPy150Open ooici/pyon/pyon/ion/directory.py/Directory.register_safe/swapped operands of `%`