summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-12-11 22:09:34 +0100
committerhut <hut@lavabit.com>2012-12-11 22:09:34 +0100
commit5e120675d84b16720a66888a2cfb580deb4c6c9b (patch)
tree845a42d060b4a29cd99c94ae6bba4a1e065ee5e1
parent07c684420e1f869e16848370e1a24b481812daf5 (diff)
downloadranger-5e120675d84b16720a66888a2cfb580deb4c6c9b.tar.gz
core.actions: more debug output
-rw-r--r--ranger/core/actions.py2
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: