From 5e120675d84b16720a66888a2cfb580deb4c6c9b Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 11 Dec 2012 22:09:34 +0100 Subject: core.actions: more debug output --- ranger/core/actions.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit 1.4.1-2-gfad0