Skip to content

Commit 3e79604

Browse files
author
Victor Garcia
committed
While parsing errors, also detecting lines starting with error:
1 parent 1485103 commit 3e79604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def _get_fetch_info_from_stderr(self, proc, progress):
555555
line = line.decode(defenc)
556556
line = line.rstrip()
557557
for pline in progress_handler(line):
558-
if line.startswith('fatal:'):
558+
if line.startswith('fatal:') or line.startswith('error:'):
559559
raise GitCommandError(("Error when fetching: %s" % line,), 2)
560560
# END handle special messages
561561
for cmd in cmds:

0 commit comments

Comments
 (0)