summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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: