diff options
author | hut <hut@hut.pm> | 2018-01-24 21:21:49 +0100 |
---|---|---|
committer | hut <hut@hut.pm> | 2018-01-24 21:21:49 +0100 |
commit | 4bb5e4931bf5ccbbc3d9f71e516d607415b7baa7 (patch) | |
tree | 9794d49d871400734e0befc2b3626fa195a6b1b5 | |
parent | f186e8877b360e0b523de75781c8f1d23301d350 (diff) | |
download | ranger-4bb5e4931bf5ccbbc3d9f71e516d607415b7baa7.tar.gz |
config.commands: clearer error message
-rwxr-xr-x | ranger/config/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 7d690b4a..2450c1c5 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -922,7 +922,8 @@ class eval_(Command): if result and not quiet: p(result) except Exception as err: # pylint: disable=broad-except - p(err) + fm.notify("The error `%s` was caused by evaluating the " + "following code: `%s`" % (err, code), bad=True) class rename(Command): |