summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/vcs/vcs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py
index 8516bd71..9cf84663 100644
--- a/ranger/ext/vcs/vcs.py
+++ b/ranger/ext/vcs/vcs.py
@@ -129,6 +129,8 @@ class Vcs(object):
             except subprocess.CalledProcessError:
                 raise VcsError("{0:s} error on {1:s}. Command: {2:s}"\
                                .format(cmd, path, ' '.join([cmd] + args)))
+            except FileNotFoundError:
+                raise VcsError("{0:s} error on {1:s}: File not found".format(cmd, path))
 
     # Generic
     #---------------------------