diff options
-rw-r--r-- | ranger/actions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/actions.py b/ranger/actions.py index 7e1c1dd3..48db860c 100644 --- a/ranger/actions.py +++ b/ranger/actions.py @@ -338,6 +338,9 @@ class Actions(EnvironmentAware, SettingsAware): pass def notify(self, text, duration=4, bad=False): + if isinstance(text, Exception): + text = str(text) + bad = True self.log.appendleft(text) if hasattr(self.ui, 'notify'): self.ui.notify(text, duration=duration, bad=bad) |