diff options
author | hut <hut@lavabit.com> | 2012-12-11 22:09:34 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-12-11 22:09:34 +0100 |
commit | 5e120675d84b16720a66888a2cfb580deb4c6c9b (patch) | |
tree | 845a42d060b4a29cd99c94ae6bba4a1e065ee5e1 /ranger | |
parent | 07c684420e1f869e16848370e1a24b481812daf5 (diff) | |
download | ranger-5e120675d84b16720a66888a2cfb580deb4c6c9b.tar.gz |
core.actions: more debug output
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 0b4948a0..6c144410 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -117,6 +117,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if ranger.arg.debug: raise bad = True + elif bad == True and ranger.arg.debug: + raise Exception(str(text)) text = str(text) self.log.appendleft(text) if self.ui and self.ui.is_on: |