🐛 fix(types.py): update error message to include the output types of the component that failed to load for better debugging
This commit is contained in:
parent
31dba43e73
commit
65850b9920
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ def build_valid_menu(valid_components):
|
||||||
valid_menu[menu_name][component_name] = component_template
|
valid_menu[menu_name][component_name] = component_template
|
||||||
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.error(f"Error loading Component: {component}")
|
logger.error(f"Error loading Component: {component['output_types']}")
|
||||||
logger.exception(
|
logger.exception(
|
||||||
f"Error while building custom component {component_output_types}: {exc}"
|
f"Error while building custom component {component_output_types}: {exc}"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue