Skip to content

Commit

Permalink
remove unnecessary warnings (#824)
Browse files Browse the repository at this point in the history
* remove unnecessary warnings
  • Loading branch information
ebubekirtrkr authored Feb 14, 2022
1 parent 18c7ba4 commit 2b7f315
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -10613,8 +10613,7 @@ def invoke(self, args: str, from_tty: bool) -> None:
key = f"{section}.{optname}"
try:
setting = gef.config.raw_entry(key)
except Exception as e:
warn(f"Invalid setting '{key}': {e}")
except Exception:
continue
new_value = cfg.get(section, optname)
if setting.type == bool:
Expand Down

0 comments on commit 2b7f315

Please sign in to comment.