We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd73f53 commit 982dc00Copy full SHA for 982dc00
1 file changed
scrolltext/cli.py
@@ -27,9 +27,11 @@ def main():
27
cfg = init_utils(write_config)
28
action = action or _str_to_action_type(cfg["main"]["action"])
29
action(write_config)
30
+ except KeyError as e:
31
+ print("KeyError occured: " + str(e) +
32
+ "\nProbalby check config?")
33
except NameError as e:
34
print("NameError occured: " + str(e))
- print("Probalby check config?")
35
36
37
def _parse_args(): # pylint: disable=inconsistent-return-statements (R1710)
0 commit comments