avoid catching attributeerror in map_sync_outputs
diff --git a/xos/synchronizers/base/syncstep.py b/xos/synchronizers/base/syncstep.py
index 42a9db4..3fb231b 100644
--- a/xos/synchronizers/base/syncstep.py
+++ b/xos/synchronizers/base/syncstep.py
@@ -160,11 +160,9 @@
path = ''.join(main_objs.__name__).lower()
res = run_template(self.playbook,tenant_fields,path=path)
- try:
+ if hasattr(self, "map_sync_outputs"):
self.map_sync_outputs(o,res)
- except AttributeError:
- pass
-
+
def delete_record(self, o):
try:
controller = o.get_controller()