Skip to content

Commit e88116c

Browse files
committed
fix: remove module execution warnings fromm ivy loader
1 parent 74575f6 commit e88116c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ivy/utils/backend/ast_helpers.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,4 @@ def exec_module(self, module, local_ivy_id=None):
274274
ast.fix_missing_locations(ast_tree)
275275
compiled_obj = compile(ast_tree, filename=self.filename, mode="exec")
276276
_compiled_modules_cache[self.filename] = compiled_obj
277-
try:
278-
exec(compiled_obj, module.__dict__)
279-
except Exception as e:
280-
print(e)
281-
traceback.print_exc()
282-
raise e
277+
exec(compiled_obj, module.__dict__)

0 commit comments

Comments
 (0)