This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: pass exception message to builtin Exception ctor as sysstr
ClosedPublic

Authored by durin42 on Feb 26 2018, 1:02 AM.

Details

Summary

If we don't do this, the bytes gets repr()ed on Python 3 and we get
bogus error strings sent to clients. Ick.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.