summary refs log tree commit diff stats
path: root/ranger/gui/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/ui.py')
-rw-r--r--ranger/gui/ui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 771f0b2a..c7c4a14b 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -138,7 +138,10 @@ class UI(DisplayableContainer):
 			if hasattr(self, 'hint'):
 				self.hint(cmd.text)
 		elif hasattr(cmd, 'execute'):
-			cmd.execute_wrap(self)
+			try:
+				cmd.execute_wrap(self)
+			except Exception as error:
+				self.fm.notify(error)
 			self.env.key_clear()
 
 	def get_next_key(self):