Show More
@@ -29,6 +29,7 b' from . import (' | |||||
29 | ) |
|
29 | ) | |
30 | from .utils import ( |
|
30 | from .utils import ( | |
31 | interfaceutil, |
|
31 | interfaceutil, | |
|
32 | stringutil, | |||
32 | ) |
|
33 | ) | |
33 |
|
34 | |||
34 | FRAMINGTYPE = b'application/mercurial-exp-framing-0005' |
|
35 | FRAMINGTYPE = b'application/mercurial-exp-framing-0005' | |
@@ -319,7 +320,8 b' def _httpv2runcommand(ui, repo, req, res' | |||||
319 | except Exception as e: |
|
320 | except Exception as e: | |
320 | action, meta = reactor.onservererror( |
|
321 | action, meta = reactor.onservererror( | |
321 | outstream, command['requestid'], |
|
322 | outstream, command['requestid'], | |
322 |
_('exception when invoking command: %s') % |
|
323 | _('exception when invoking command: %s') % | |
|
324 | stringutil.forcebytestr(e)) | |||
323 |
|
325 | |||
324 | if action == 'sendframes': |
|
326 | if action == 'sendframes': | |
325 | res.setbodygen(meta['framegen']) |
|
327 | res.setbodygen(meta['framegen']) |
General Comments 0
You need to be logged in to leave comments.
Login now