diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index b4546c15..c9ca8897 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -592,8 +592,9 @@ later is required to fix a server side protocol bug. | |||
592 | f.write(manifest_str) | 592 | f.write(manifest_str) |
593 | finally: | 593 | finally: |
594 | f.close() | 594 | f.close() |
595 | except IOError: | 595 | except IOError as e: |
596 | print('error: cannot write manifest to %s' % manifest_path, | 596 | print('error: cannot write manifest to %s:\n%s' |
597 | % (manifest_path, e), | ||
597 | file=sys.stderr) | 598 | file=sys.stderr) |
598 | sys.exit(1) | 599 | sys.exit(1) |
599 | self._ReloadManifest(manifest_name) | 600 | self._ReloadManifest(manifest_name) |