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