Skip to content

Commit 57a7d38

Browse files
authored
[shell][fix] Do not warn when the model cannot be loaded (#2153)
1 parent 3de8958 commit 57a7d38

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

fixshell/fixshell/promptsession.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,11 +848,8 @@ def path(p: Property, visited: Set[str]) -> List[str]:
848848
if cmd in lookup and alias not in lookup:
849849
cmds.append(evolve(lookup[cmd], name=alias, is_alias=True))
850850
return cmds, visible_kinds, sorted(known_props)
851-
except Exception as ex:
852-
log.warning(
853-
f"Can not load metadata from core: {ex}. No suggestions as fallback.",
854-
exc_info=ex,
855-
)
851+
except Exception:
852+
log.info("Can not load metadata. Possible Reason: no data collected. No suggestions as fallback.")
856853
return [], [], []
857854

858855

0 commit comments

Comments
 (0)