mercurial/bundle2.py
changeset 25324 deed9c6b12d2
parent 25323 21a25fb81d2c
child 25331 53ca47ef645d
--- a/mercurial/bundle2.py	Wed May 27 00:19:16 2015 -0700
+++ b/mercurial/bundle2.py	Wed May 27 00:22:29 2015 -0700
@@ -804,6 +804,8 @@
                 yield chunk
         except BaseException, exc:
             # backup exception data for later
+            ui.debug('bundle2-input-stream-interrupt: encoding exception %s'
+                     % exc)
             exc_info = sys.exc_info()
             msg = 'unexpected error: %s' % exc
             interpart = bundlepart('error:abort', [('message', msg)],