fix: Ignore all non-import exceptions

This commit is contained in:
Ankush Menat 2023-09-15 15:35:18 +05:30
parent c189b7e622
commit b409a05e8e

View file

@ -159,6 +159,8 @@ def remove_orphan_doctypes():
get_controller(doctype=doctype)
except ImportError:
orphan_doctypes.append(doctype)
except Exception:
continue
if not orphan_doctypes:
return