mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
ignore failed initialization of create plugin
This commit is contained in:
parent
c8a7a76618
commit
fe58f6150f
1 changed files with 13 additions and 5 deletions
|
|
@ -755,11 +755,19 @@ class CreateContext:
|
|||
).format(creator_class.host_name, self.host_name))
|
||||
continue
|
||||
|
||||
creator = creator_class(
|
||||
project_settings,
|
||||
self,
|
||||
self.headless
|
||||
)
|
||||
# TODO report initialization error
|
||||
try:
|
||||
creator = creator_class(
|
||||
project_settings,
|
||||
self,
|
||||
self.headless
|
||||
)
|
||||
except Exception:
|
||||
self.log.error(
|
||||
f"Failed to initialize plugin: {creator_class}",
|
||||
exc_info=True
|
||||
)
|
||||
continue
|
||||
|
||||
if not creator.enabled:
|
||||
disabled_creators[creator_identifier] = creator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue