diff --git a/subcmds/sync.py b/subcmds/sync.py index 175748a6..3f1faa9f 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -1058,6 +1058,8 @@ later is required to fix a server side protocol bug. verbose=verbose, ) success = syncbuf.Finish() + except KeyboardInterrupt: + logger.error("Keyboard interrupt while processing %s", project.name) except GitError as e: logger.error( "error.GitError: Cannot checkout %s: %s", project.name, e