This is an archive of the discontinued Mercurial Phabricator instance.

py3: convert traceback representation to bytes when logging
ClosedPublic

Authored by indygreg on Feb 11 2018, 10:45 PM.

Details

Summary

Python's APIs should return a system string. We want to use bytes
for logging. So convert the traceback to bytes before sending
it to the logger.

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.

Event Timeline

indygreg created this revision.Feb 11 2018, 10:45 PM
pulkit accepted this revision.Feb 12 2018, 2:51 AM
durin42 accepted this revision.Feb 12 2018, 9:33 PM
This revision is now accepted and ready to land.Feb 12 2018, 9:33 PM
This revision was automatically updated to reflect the committed changes.