diff --git a/pym/bob/scm/git.py b/pym/bob/scm/git.py index 9b539ab2d..57ad49ed7 100644 --- a/pym/bob/scm/git.py +++ b/pym/bob/scm/git.py @@ -587,7 +587,7 @@ def callGit(self, workspacePath, *args, check=True): cwd = os.path.join(workspacePath, self.__dir) try: output = subprocess.check_output(cmdLine, cwd=cwd, - universal_newlines=True, stderr=subprocess.DEVNULL) + universal_newlines=True, stderr=subprocess.DEVNULL, errors='replace') except subprocess.CalledProcessError as e: if check: raise BuildError("git error:\n Directory: '{}'\n Command: '{}'\n'{}'".format(