Update error message in DirectoryReader class
This commit is contained in:
parent
894995c63d
commit
0e210c36cc
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class DirectoryReader:
|
|||
component_tuple = (*build_component(component), component)
|
||||
components.append(component_tuple)
|
||||
except Exception as e:
|
||||
logger.error(f"Error while loading component: {e}")
|
||||
logger.error(f"Error while loading component { component['name']}: {e}")
|
||||
continue
|
||||
items.append({"name": menu["name"], "path": menu["path"], "components": components})
|
||||
filtered = [menu for menu in items if menu["components"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue