fix: Ignore all non-import exceptions
This commit is contained in:
parent
c189b7e622
commit
b409a05e8e
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue